This commit is contained in:
Patrick Schleizer 2025-04-19 13:20:04 -04:00
parent a670c0d873
commit 701f4a0e88
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48

View file

@ -14,12 +14,12 @@ export LC_ALL=C
pidfile="/run/helper-scripts/security-misc-apt-get-update-pid"
sigterm_trap() {
/usr/libexec/helper-scripts/apt-get-update-kill-helper
/usr/libexec/helper-scripts/apt-get-update-kill-helper &>/dev/null
exit 143
}
## terminate potential previous invocations.
/usr/libexec/helper-scripts/apt-get-update-kill-helper
/usr/libexec/helper-scripts/apt-get-update-kill-helper &>/dev/null
trap "sigterm_trap" SIGTERM SIGINT