diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-10-09 16:37:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-10-09 16:37:31 +0200 |
commit | f76bc9bf7f2b9378102d0d34b12987170b5ae3ef (patch) | |
tree | 20e09e59c1fc0c5317337409d3e81a9eba315dbf /bbot/agent/machine.cxx | |
parent | 355fb2bf20af05ccd885279db26f9ccce669dd13 (diff) |
Don't fail hard if we were unable to suspend machine
Diffstat (limited to 'bbot/agent/machine.cxx')
-rw-r--r-- | bbot/agent/machine.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx index b309fdf..955ab77 100644 --- a/bbot/agent/machine.cxx +++ b/bbot/agent/machine.cxx @@ -172,7 +172,7 @@ namespace bbot forcedown (bool fail_hard) override; virtual void - suspend () override; + suspend (bool fail_hard) override; bool wait (size_t& seconds, bool fail_hard) override; @@ -376,7 +376,7 @@ namespace bbot } void kvm_machine:: - suspend () + suspend (bool fh) { try { @@ -384,7 +384,7 @@ namespace bbot } catch (const system_error& e) { - fail << "unable to communicate with qemu monitor: " << e; + fail (fh) << "unable to communicate with qemu monitor: " << e; } } |