diff options
-rw-r--r-- | bbot/agent/machine.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx index a1fe9bb..af007ae 100644 --- a/bbot/agent/machine.cxx +++ b/bbot/agent/machine.cxx @@ -405,7 +405,7 @@ namespace bbot tracer trace ("kvm_machine::wait"); bool t; - for (; !(t = proc.try_wait ()) && sec != 0; --sec) + for (; !(t = proc.try_wait ().has_value ()) && sec != 0; --sec) sleep (1); if (t) |