diff options
author | Varac <varac@leap.se> | 2017-08-23 10:05:27 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-08-23 10:05:27 +0200 |
commit | 27ae20913664d97918effd7308f30e0a61aa4b24 (patch) | |
tree | 3473fd5ea0c0d97e3901404053956067e0041ffa /lib/leap_cli/commands | |
parent | 9679c7e1cd5d7b5824fa99b070dc0899779c92ec (diff) | |
parent | 61d8d9e0e35dc9759ec93b517b0a67df1c3506d3 (diff) |
Merge remote-tracking branch 'elijah_acab/bugfix/testcontinue'
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/test.rb b/lib/leap_cli/commands/test.rb index 70eb00fd..e2815aae 100644 --- a/lib/leap_cli/commands/test.rb +++ b/lib/leap_cli/commands/test.rb @@ -35,7 +35,7 @@ module LeapCli; module Commands SSH::remote_command(node, options) do |ssh, host| ssh.stream(test_cmd(options), :raise_error => true, :log_wrap => true) end - rescue LeapCli::SSH::ExecuteError + rescue LeapCli::SSH::TimeoutError, SSHKit::Runner::ExecuteError, SSHKit::Command::Failed if options[:continue] exit_status(1) else |