From 769f0590be438bc7fed73e3f12bd711cf7e673e0 Mon Sep 17 00:00:00 2001 From: yosh Date: Fri, 15 Dec 2023 00:06:26 -0500 Subject: [PATCH] can't trap kill --- doasedit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }