From 7f5607358182d779cf5d3355d4f8d0e3a3f8e607 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Tue, 7 May 2013 09:30:41 +0200 Subject: Fix wrong condition when registering provider --- openlmi-mof-register | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openlmi-mof-register') diff --git a/openlmi-mof-register b/openlmi-mof-register index c7992cd..a912e0a 100755 --- a/openlmi-mof-register +++ b/openlmi-mof-register @@ -172,7 +172,7 @@ then HAS_SFCBD=1 else HAS_SFCBD=0 - if [ $cimom != "sfcbd" ]; then + if [ $cimom = "sfcbd" ]; then echo "Sfcbd not detected on system!" >&2 exit 1 fi @@ -183,7 +183,7 @@ then HAS_PEGASUS=1 else HAS_PEGASUS=0 - if [ $cimom != "tog-pegasus" ]; then + if [ $cimom = "tog-pegasus" ]; then echo "Pegasus not detected on system!" >&2 exit 1 fi -- cgit