can't trap kill

This commit is contained in:
yosh 2023-12-15 00:06:26 -05:00
parent 46b70ef02d
commit 769f0590be
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ clean() {
[ -f "${tmpfile}" ] && rm -f "$tmpfile"
}
trap 'clean' 1 INT HUP KILL EXIT
trap 'clean' 1 INT HUP QUIT EXIT
for f; do
[ -f "$f" ] || { errecho "File $f is not a regular file, is not accessible by the user, or does not exist. Skipping..." && continue; }