Syntax changes

bug/bundler_fix
Tom Sellers 2014-10-25 09:39:15 -05:00
parent 2a6a8245cf
commit 13b6f1cf48
1 changed files with 2 additions and 1 deletions

View File

@ -1711,7 +1711,8 @@ class Core
session_list = build_sessions_array(sid)
print_status("Killing the following session(s): #{session_list}")
session_list.each do |sess|
if ((session = framework.sessions.get(sess)))
session = framework.sessions.get(sess)
if session
print_status("Killing session #{sess}")
session.kill
else