1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 18:33:45 +01:00
This commit is contained in:
Páll Guðjón Sigurðsson 2010-09-02 23:44:48 +00:00
parent fd83e788bc
commit 2083b966b9

View File

@ -117,7 +117,6 @@ def add_summary(text):
def set_path(path): def set_path(path):
current_path = getenv('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" path = ";C:\Program Files\Hewlett-Packard\Sanworks\Element Manager for StorageWorks HSV"
path = path + ";C:\Program Files (x86)\Compaq\Hpacucli\Bin\hpacucli.exe" path = path + ";C:\Program Files (x86)\Compaq\Hpacucli\Bin\hpacucli.exe"