X-Git-Url: http://git.onelab.eu/?p=lxc-userspace.git;a=blobdiff_plain;f=lxcsu-internal;h=782ae6712688595e17093d4087f3314c5cdba8ef;hp=9897ede4a08efb462a1fd0292c5234221e5e6db9;hb=cd6d6843b328c330a5934cd665c815fda3eb129f;hpb=f39cb778d3dc1cb05f14c4d5784e4b062d151148 diff --git a/lxcsu-internal b/lxcsu-internal index 9897ede..782ae67 100755 --- a/lxcsu-internal +++ b/lxcsu-internal @@ -25,7 +25,7 @@ def getarch(f): def umount(fs_dir): output = os.popen('/bin/umount %s 2>&1'%fs_dir).read() - return ('device is busy' not in fs_dir) + return ('device is busy' not in output) def main (): parser = ArgumentParser()