mirror of
git://github.com/lxc/lxc
synced 2025-08-31 11:39:37 +00:00
lxc-start-ephemeral: Add missing return call to wait override
When overriding wait(), I forgot to actually return the value coming from the C binding... Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
@@ -370,7 +370,7 @@ class Container(_lxc.Container):
|
||||
if isinstance(state, str):
|
||||
state = state.upper()
|
||||
|
||||
_lxc.Container.wait(self, state, timeout)
|
||||
return _lxc.Container.wait(self, state, timeout)
|
||||
|
||||
def list_containers(as_object=False):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user