diff options
-rwxr-xr-x | bin/ftpsync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index 99ec2a6..c6ee505 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -344,6 +344,7 @@ if ! ( set -o noclobber; echo "$$" > "${LOCK}") 2> /dev/null; then fi fi +# No matter how we exit this script, we always want to run the cleanup action trap cleanup EXIT ERR TERM HUP INT QUIT # Start log by redirecting everything there. |