diff options
-rwxr-xr-x | util/abuild/abuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild index ecda5c3491..04b8e05955 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -155,6 +155,10 @@ function create_config if [ -f $payloads/payload.sh ]; then PAYLOAD=`sh $payloads/payload.sh $VENDOR $MAINBOARD` + if [ $? -gt 0 ]; then + echo "problem with payload" + exit 1 + fi printf "Using payload $PAYLOAD\n" fi |