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 wrap: on
line diff
--- a/s4-funcs.sh	Fri Feb 26 23:12:16 2016 +0859
+++ b/s4-funcs.sh	Tue Mar 01 11:59:54 2016 +0859
@@ -1034,7 +1034,7 @@
 
 # Do instant jobs here
 dbsetup
-trap cleanup INT HUP EXIT
+trap cleanup INT HUP EXIT TERM
 # trap cleanup INT HUP
 
 err() {

yatex.org