diff --git a/dev/common_batch.sh b/dev/common_batch.sh index a7fea8e..508c8ac 100755 --- a/dev/common_batch.sh +++ b/dev/common_batch.sh @@ -3,7 +3,7 @@ SUBPROGRAM=[prgname] PROGRAM="$SUBPROGRAM-batch" # Batch program to run osync / obackup instances sequentially and rerun failed ones AUTHOR="(L) 2013-2018 by Orsiris de Jong" CONTACT="http://www.netpower.fr - ozy@netpower.fr" -PROGRAM_BUILD=2018100101 +PROGRAM_BUILD=2018100201 ## Runs an osync /obackup instance for every conf file found ## If an instance fails, run it again if time permits @@ -35,6 +35,8 @@ else RUN_DIR=. fi +trap TrapQuit TERM EXIT HUP QUIT + # No need to edit under this line ############################################################## include #### Logger SUBSET ####