From 1db87c2ef2d2cec3fb82af69ee577c4691ad14cf Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 27 Dec 2020 17:13:20 -0600 Subject: [PATCH] Fix incorrect trap invocation --- archstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archstrap.sh b/archstrap.sh index 6acfa15..747e87c 100755 --- a/archstrap.sh +++ b/archstrap.sh @@ -92,7 +92,7 @@ arch-build() { for file in "$bootstrap"; do touch "$file" chmod 0700 "$file" - trap EXIT cleanup "$file" + trap cleanup "$file" EXIT done "$bootstrap" "$_optdest" }