summaryrefslogtreecommitdiff
path: root/util/board_status
diff options
context:
space:
mode:
Diffstat (limited to 'util/board_status')
-rwxr-xr-xutil/board_status/board_status.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index ca7e2c7fbe..83a7200d64 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -378,10 +378,10 @@ elif [ -n "$REMOTE_HOST" ]; then
else
echo "Verifying that CBMEM is available"
if [ $(id -u) -ne 0 ]; then
- sudo command -v "$cbmem_cmd" >/dev/null
+ command -v "$cbmem_cmd" >/dev/null
if [ $? -ne 0 ]; then
- echo "Failed to run $cbmem_cmd using sudo. Check \$PATH or use -c" \
- "to specify path to cbmem binary."
+ echo "Failed to run $cbmem_cmd. Check \$PATH or" \
+ "use -c to specify path to cbmem binary."
exit $EXIT_FAILURE
else
cbmem_cmd="sudo $cbmem_cmd"