mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 11:06:04 -04:00
/usr/lib/security-misc/apt-get-update environment variable timeout_after kill_after support
This commit is contained in:
parent
0bd0a4a647
commit
829e28aa90
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ sigterm_trap() {
|
|||
|
||||
trap "sigterm_trap" SIGTERM SIGINT
|
||||
|
||||
timeout_after="240"
|
||||
kill_after="10"
|
||||
[ -n "$timeout_after" ] || timeout_after="240"
|
||||
[ -n "$kill_after" ] || kill_after="10"
|
||||
|
||||
timeout \
|
||||
--kill-after="$kill_after" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue