Skip to content

Commit

Permalink
kranc: Propagate Kranc exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Jul 17, 2013
1 parent 4bbb525 commit 36671c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Bin/kranc
Expand Up @@ -67,8 +67,10 @@ if $MATH -run "DeleteDirectory[\"$flagdir\"]; Get[\"$KRANCDIR/Tools/MathematicaM
exit 1
fi
else
code=$?
if [ -d "$flagdir" ]; then
rmdir "$flagdir"
exit 1
exit $code
fi
exit $code
fi

0 comments on commit 36671c3

Please sign in to comment.