From 97cc90866ca2061ff751aa18d7b33be3cf4c1fb7 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 26 Dec 2009 00:00:11 +0100 Subject: One more comment. comments good. :) Signed-off-by: Joerg Jaspert --- bin/ftpsync | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/ftpsync') 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. -- cgit v1.2.3