mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-06 07:05:17 +01:00
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user