board_status: Remove sudo when checking for cbmem with command
commit25c7e322e838f90f9b7d5a511ccf290860831c7d
authorMatthias Gazzari <mail@qtux.eu>
Wed, 2 May 2018 13:43:27 +0000 (2 15:43 +0200)
committerMartin Roth <martinroth@google.com>
Thu, 3 May 2018 15:07:34 +0000 (3 15:07 +0000)
tree1ee14e8474f6806485adf8119608a13f8836440b
parent838f296d059962196bb50db4b009d1d890cae0be
board_status: Remove sudo when checking for cbmem with command

I get the error below when using the following command in combination
with sudo:

sudo command -v $SOME_COMMAND
sudo: command: command not found

Detection of the cbmem path is working fine without sudo.

Change-Id: I8788c190ffebde117e2abd3df924c48d8f6fd05d
Signed-off-by: Matthias Gazzari <mail@qtux.eu>
Reviewed-on: https://review.coreboot.org/25989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
util/board_status/board_status.sh