can't trap kill
This commit is contained in:
parent
46b70ef02d
commit
769f0590be
2
doasedit
2
doasedit
|
@ -10,7 +10,7 @@ clean() {
|
||||||
[ -f "${tmpfile}" ] && rm -f "$tmpfile"
|
[ -f "${tmpfile}" ] && rm -f "$tmpfile"
|
||||||
}
|
}
|
||||||
|
|
||||||
trap 'clean' 1 INT HUP KILL EXIT
|
trap 'clean' 1 INT HUP QUIT EXIT
|
||||||
|
|
||||||
for f; do
|
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; }
|
[ -f "$f" ] || { errecho "File $f is not a regular file, is not accessible by the user, or does not exist. Skipping..." && continue; }
|
||||||
|
|
Loading…
Reference in New Issue