fix stsatus code deteciton

This commit is contained in:
Isaac Connor 2017-04-26 20:42:28 -04:00
parent 4360431e98
commit 5f9268addd
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ if [ "$DEBSIGN_KEYID" != "" ]; then
DEBUILD="$DEBUILD -k$DEBSIGN_KEYID"
fi
$DEBUILD
if [ $? ]; then
if [ "$?" != "0" ]; then
echo "Error status code is: $?"
echo "Build failed.";
exit $?;