diff --git a/seafbackup.sh b/seafbackup.sh index 75852ce..1c4a503 100755 --- a/seafbackup.sh +++ b/seafbackup.sh @@ -136,7 +136,7 @@ trapExit () { # note script completion with error printf "${err}[%s] --- %s execution was terminated via signal ---${norm}\n" \ "$(stamp)" "$scriptName" >> "$logFile" - exit "$1" + exit 99 } ### end of functions