Test for failure
This commit is contained in:
parent
d4ffd0d9b5
commit
49ee34974b
|
@ -161,6 +161,10 @@ if [ -f /usr/bin/sudo ]; then
|
||||||
SUDO='sudo'
|
SUDO='sudo'
|
||||||
fi
|
fi
|
||||||
$SUDO ./setup_sdcard.sh --mmc $MICROSD_DRIVE --dtb beaglebone
|
$SUDO ./setup_sdcard.sh --mmc $MICROSD_DRIVE --dtb beaglebone
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
|
echo 'System did not install to the microSD'
|
||||||
|
exit 4378
|
||||||
|
fi
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
echo ''
|
echo ''
|
||||||
|
|
Loading…
Reference in New Issue