don't kill a session when the user ctrl-C's during a command run by sessions -c or a script/postmod
git-svn-id: file:///home/svn/framework3/trunk@12513 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
366bc8979d
commit
259bf9695a
|
@ -146,6 +146,8 @@ class CommandShell
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
rescue ::Timeout::Error
|
rescue ::Timeout::Error
|
||||||
|
rescue ::Interrupt => e
|
||||||
|
raise e
|
||||||
rescue ::Exception => e
|
rescue ::Exception => e
|
||||||
shell_close
|
shell_close
|
||||||
raise e
|
raise e
|
||||||
|
|
Loading…
Reference in New Issue