Fix incorrect trap invocation
This commit is contained in:
parent
a43ee46036
commit
1db87c2ef2
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user