Skip to content

Commit

Permalink
build: apply_profile.code.definitions: dont hard 'exit' but 'return'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Bittorf committed Feb 24, 2016
1 parent 1d1cd18 commit bc1dbd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openwrt-build/apply_profile.code.definitions
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ case "$INSTALLATION" in
*)
[ -z "$CHANNEL" ] && {
echo "[ERR] installation '$INSTALLATION' not defined - aborting"
exit 1
logger -s -- "[ERR] installation '$INSTALLATION' not defined - aborting"
return 1
}
;;
esac

0 comments on commit bc1dbd7

Please sign in to comment.