From b118e2c9e952e21431e8bbbf44ab62f747fda269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Gu=C3=B0j=C3=B3n=20Sigur=C3=B0sson?= Date: Thu, 2 Sep 2010 23:40:42 +0000 Subject: [PATCH] --- check_hparray/trunk/check_hpacucli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_hparray/trunk/check_hpacucli.py b/check_hparray/trunk/check_hpacucli.py index 32998bf..055fa92 100644 --- a/check_hparray/trunk/check_hpacucli.py +++ b/check_hparray/trunk/check_hpacucli.py @@ -86,9 +86,9 @@ def runCommand(command): stdout, stderr = proc.communicate('through stdin to stdout') if proc.returncode > 0: print "Error %s: %s\n command was: '%s'" % (proc.returncode,stderr.strip(),command) - if proc.returncode == 127: # File not found, lets print path - path=getenv("PATH") - print "Current Path: %s" % (path) + #if proc.returncode == 127: # File not found, lets print path + path=getenv("PATH") + print "Current Path: %s" % (path) exit(unknown) else: return stdout