mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 18:33:45 +01:00
This commit is contained in:
parent
3ff6c031ff
commit
b74dfb8f2f
@ -125,6 +125,7 @@ def set_path(path):
|
|||||||
path = ":/usr/local/bin"
|
path = ":/usr/local/bin"
|
||||||
current_path = "%s%s" % (current_path,path)
|
current_path = "%s%s" % (current_path,path)
|
||||||
putenv('PATH', current_path)
|
putenv('PATH', current_path)
|
||||||
|
print "current path: ", current_path
|
||||||
print "put: %s" %(getenv('PATH'))
|
print "put: %s" %(getenv('PATH'))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user