flash-img-and-uboot.sh: exit after showing usage
This commit is contained in:
parent
bac77fce45
commit
c9a003f1da
|
@ -9,6 +9,7 @@ fi
|
|||
|
||||
if [[ -z "${1:-}" ]]; then
|
||||
echo 'USAGE: <image> <uboot> <seek> <bs> <dev>'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
IMAGE="$1"
|
||||
|
|
Loading…
Reference in New Issue