mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-22 17:13:52 +01:00
This commit is contained in:
parent
88965ef840
commit
60a0c1fac1
@ -522,7 +522,7 @@ def set_path():
|
||||
global path
|
||||
current_path = getenv('PATH')
|
||||
if path == '':
|
||||
if current_path.find('C:\\') > 1: # We are on this platform
|
||||
if current_path.find('C:\\') > -1: # We are on this platform
|
||||
path = "C:\Program Files\Hewlett-Packard\Sanworks\Element Manager for StorageWorks HSV"
|
||||
else:
|
||||
path = "/usr/local/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user