diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py index b237746b3..ae840955a 100644 --- a/contrib/fuse/runtests.py +++ b/contrib/fuse/runtests.py @@ -245,7 +245,7 @@ class SystemTest (object): print 'Unmounting implementation #%d' % (implnum,) args = ['fusermount', '-u', mountpath] ec, out = gather_output(args) - if exitcode != 0 or output: + if ec != 0 or out: tmpl = 'fusermount failed to unmount:\n' tmpl += 'Arguments: %r\n' tmpl += 'Exit Status: %r\n'