diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index eeb659c..5c39cd7 100644 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -7,7 +7,7 @@ PROGRAM="obackup" AUTHOR="(C) 2013-2018 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.1-RC1 -PROGRAM_BUILD=2018093008 +PROGRAM_BUILD=2018101001 IS_STABLE=no #### Execution order #__WITH_PARANOIA_DEBUG @@ -1776,9 +1776,6 @@ function Init { local hosturiandpath local hosturi - trap TrapStop INT QUIT TERM HUP - trap TrapQuit EXIT - ## Test if target dir is a ssh uri, and if yes, break it down it its values if [ "${REMOTE_SYSTEM_URI:0:6}" == "ssh://" ] && [ "$BACKUP_TYPE" != "local" ]; then REMOTE_OPERATION="yes" @@ -1912,6 +1909,9 @@ function Usage { exit 128 } +#### SCRIPT ENTRY POINT #### +trap TrapQuit EXIT + # Command line argument flags _DRYRUN=false no_maxtime=false