diff options
| -rwxr-xr-x | bin/ipmi_test | 9 | ||||
| -rw-r--r-- | po/pl.po | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/bin/ipmi_test b/bin/ipmi_test index 403f572..32d5773 100755 --- a/bin/ipmi_test +++ b/bin/ipmi_test @@ -8,12 +8,9 @@ for module in ipmi_si ipmi_devintf ipmi_msghandler; do echo "Loading $module..." modprobe $module result=$? - # if ipmi_si fails to load, it's safe to assume the system - # has no BMC, so we'll just politely exit. - if [ $result -eq 1 ] && [ "$module" = "ipmi_si" ]; then - echo "WARNING: No BMC found. Aborting." - exit 0 - elif [ $result -eq 1 ]; then + # If the IPMI drivers don't load, it could be the system has no BMC, or + # the IPMI driver is bad. We should error and Fail here. + if [ $result -eq 1 ]; then echo "ERROR: Unable to load module $module" >&2 echo "Aborting IPMI test run." >&2 exit 1 @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2015-06-18 04:33+0000\n" -"X-Generator: Launchpad (build 17570)\n" +"X-Launchpad-Export-Date: 2015-07-08 05:19+0000\n" +"X-Generator: Launchpad (build 17608)\n" "Language: Polish\n" #. description |
