From f665b10b12e3a54a25c1a948b7f9864d21815c6e Mon Sep 17 00:00:00 2001
From: nejucomo <nejucomo@gmail.com>
Date: Fri, 6 Jun 2008 23:18:15 -0700
Subject: [PATCH] fuse: runtests.py: Fix a typo bug in fusermount output
 checking.

---
 contrib/fuse/runtests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py
index b237746b..ae840955 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'
-- 
2.45.2