Commit 6db31cc1 authored by BlackEagle's avatar BlackEagle Committed by Pierre Schmitz
Browse files

when cleanup is called without code exit with 0

parent 4ee45fe6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ setup_workdir() {

cleanup() {
	[[ -n $WORKDIR ]] && rm -rf "$WORKDIR"
	[[ $1 ]] && exit $1
	exit ${1:-0}
}

abort() {