From 60a0c1fac1e83373ec271c6db4ac52aa10713edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Gu=C3=B0j=C3=B3n=20Sigur=C3=B0sson?= Date: Thu, 2 Sep 2010 18:14:23 +0000 Subject: [PATCH] --- check_eva/trunk/check_eva.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_eva/trunk/check_eva.py b/check_eva/trunk/check_eva.py index 96770a3..45f2363 100644 --- a/check_eva/trunk/check_eva.py +++ b/check_eva/trunk/check_eva.py @@ -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"