From 246b8ead603db3c1a8bbc0ae1a0007bda3821c6c Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 16 Jun 2012 16:21:55 +0200 Subject: mkarchroot: reset trap so it wont be called twice --- lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common.sh b/lib/common.sh index 6bbf6de..5c144e2 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -62,7 +62,7 @@ setup_workdir() { } cleanup() { - trap - EXIT INT QUIT TERM + trap - EXIT INT QUIT TERM HUP [[ -n $WORKDIR ]] && rm -rf "$WORKDIR" [[ $1 ]] && exit $1 -- cgit v1.2.3-70-g09d2