Fix incorrect trap invocation

This commit is contained in:
Salt 2020-12-27 17:13:20 -06:00
parent a43ee46036
commit 1db87c2ef2

View File

@ -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"
}