summaryrefslogtreecommitdiff
diff options
-rwxr-xr-xbin/ipmi_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ipmi_test b/bin/ipmi_test
index 59d7aac..12ca42c 100755
--- a/bin/ipmi_test
+++ b/bin/ipmi_test
@@ -38,8 +38,8 @@ echo "Checking to see if we can get user data"
channel=99
for x in 0 1 2 3 4 5 6 7 8 9 10 11 14 15; do
if ipmitool channel getaccess $x 2>1 >/dev/null; then
- echo "Channel in use appears to be $channel"
channel=$x
+ echo "Channel in use appears to be $channel"
break
fi
done