mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 02:13:44 +01:00
Tab indent bug fixed
This commit is contained in:
parent
00a36443ae
commit
8e8417ca46
@ -88,7 +88,7 @@ def runCommand(command):
|
|||||||
stdout, stderr = proc.communicate('through stdin to stdout')
|
stdout, stderr = proc.communicate('through stdin to stdout')
|
||||||
if proc.returncode > 0:
|
if proc.returncode > 0:
|
||||||
print "Error %s: %s\n command was: '%s'" % (proc.returncode,stderr.strip(),command)
|
print "Error %s: %s\n command was: '%s'" % (proc.returncode,stderr.strip(),command)
|
||||||
debug("results: %s" % (stdout.strip() )
|
debug("results: %s" % (stdout.strip() ) )
|
||||||
if proc.returncode == 127: # File not found, lets print path
|
if proc.returncode == 127: # File not found, lets print path
|
||||||
path=getenv("PATH")
|
path=getenv("PATH")
|
||||||
print "Check if your path is correct %s" % (path)
|
print "Check if your path is correct %s" % (path)
|
||||||
|
Loading…
Reference in New Issue
Block a user