diff --git a/doasedit b/doasedit index cefb6f9..214aed5 100755 --- a/doasedit +++ b/doasedit @@ -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; }