mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-12 17:29:26 -05:00
/usr/lib/security-misc/apt-get-update environment variable timeout_after kill_after support
This commit is contained in:
parent
0bd0a4a647
commit
829e28aa90
@ -18,8 +18,8 @@ sigterm_trap() {
|
|||||||
|
|
||||||
trap "sigterm_trap" SIGTERM SIGINT
|
trap "sigterm_trap" SIGTERM SIGINT
|
||||||
|
|
||||||
timeout_after="240"
|
[ -n "$timeout_after" ] || timeout_after="240"
|
||||||
kill_after="10"
|
[ -n "$kill_after" ] || kill_after="10"
|
||||||
|
|
||||||
timeout \
|
timeout \
|
||||||
--kill-after="$kill_after" \
|
--kill-after="$kill_after" \
|
||||||
|
Loading…
Reference in New Issue
Block a user