From 49ee34974bb1ee60c6e57d9520265727824362b8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Jan 2015 09:48:50 +0000 Subject: [PATCH] Test for failure --- src/freedombone-prep | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-prep b/src/freedombone-prep index 6bd715c5..96c40150 100755 --- a/src/freedombone-prep +++ b/src/freedombone-prep @@ -161,6 +161,10 @@ if [ -f /usr/bin/sudo ]; then SUDO='sudo' fi $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 ''