Skip to content

Commit

Permalink
removed broken, unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
mathias-luedtke committed Jan 16, 2017
1 parent c430dfd commit 07180a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion industrial_ci/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function success {
function ici_exit {
trap - ERR # Reset signal handler since the shell is about to exit.
_exit_code=${1:-$?} # If 1st arg is not passed, set last error code.
_exptected = ${EXPECT_EXIT_CODE:-0}

if [ "$_exit_code" == "${EXPECT_EXIT_CODE:-0}" ]; then
exit 0
elif [ "$_exit_code" == "0" ]; then # 0 was not expected
Expand Down

0 comments on commit 07180a2

Please sign in to comment.