s4

changeset 182:5ba50e0850c9

TERM signal added to trap
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 01 Mar 2016 11:59:54 +0859
parents fcfed35ca6d8
children b641b5393c40
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Fri Feb 26 23:12:16 2016 +0859
     1.2 +++ b/s4-funcs.sh	Tue Mar 01 11:59:54 2016 +0859
     1.3 @@ -1034,7 +1034,7 @@
     1.4  
     1.5  # Do instant jobs here
     1.6  dbsetup
     1.7 -trap cleanup INT HUP EXIT
     1.8 +trap cleanup INT HUP EXIT TERM
     1.9  # trap cleanup INT HUP
    1.10  
    1.11  err() {