1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 10:03:45 +01:00
This commit is contained in:
Páll Guðjón Sigurðsson 2010-09-02 18:14:23 +00:00
parent 88965ef840
commit 60a0c1fac1

View File

@ -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"