diff options
Diffstat (limited to 'openlmi-mof-register')
-rwxr-xr-x | openlmi-mof-register | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openlmi-mof-register b/openlmi-mof-register index 37e90c1..50e4bc5 100755 --- a/openlmi-mof-register +++ b/openlmi-mof-register @@ -101,7 +101,6 @@ function unregister() if [ $HAS_PEGASUS -eq 1 ] && echo $cimom | grep -q 'all\|tog-pegasus'; then - mofcomp -n $namespace -r ${mofs[@]} if [ -n "$reg" ]; then for provider in $(sed -n 's/ *group: *//p' "$reg" | sort | uniq); @@ -109,6 +108,7 @@ function unregister() /usr/bin/cimprovider -d -m ${provider} && /usr/bin/cimprovider -r -m ${provider} done fi + mofcomp -n $namespace -r ${mofs[@]} fi } |