Fixes FS#33551.

Signed-off-by: Chirantan Ekbote <[email protected]>
---
 test/pacman/pmtest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 1d198f0..d141567 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -204,7 +204,9 @@ def run(self, pacman):
                 cmd.append("fakeroot")
 
             fakechroot = util.which("fakechroot")
-            if fakechroot:
+            if not fakechroot:
+                print "WARNING: fakechroot not found!"
+            else:
                 cmd.append("fakechroot")
 
         if pacman["gdb"]:
-- 
1.8.1.2


Reply via email to