summaryrefslogtreecommitdiffstats
path: root/openlmi-mof-register
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2013-05-07 09:30:41 +0200
committerRadek Novacek <rnovacek@redhat.com>2013-05-07 09:30:41 +0200
commit7f5607358182d779cf5d3355d4f8d0e3a3f8e607 (patch)
treea50dc2b9738a02688a85c796548a9be85c06e5ca /openlmi-mof-register
parentf4e079cea2fdb4e8cced5a7f4ffe7a240cf5c2a8 (diff)
downloadopenlmi-providers-7f5607358182d779cf5d3355d4f8d0e3a3f8e607.zip
openlmi-providers-7f5607358182d779cf5d3355d4f8d0e3a3f8e607.tar.gz
openlmi-providers-7f5607358182d779cf5d3355d4f8d0e3a3f8e607.tar.xz
Fix wrong condition when registering provider
Diffstat (limited to 'openlmi-mof-register')
-rwxr-xr-xopenlmi-mof-register4
1 files changed, 2 insertions, 2 deletions
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