diff --git a/dev/n_osync.sh b/dev/n_osync.sh index 37688f5..d6bc8ca 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -2,7 +2,6 @@ #TODO treeList, deleteList, _getFileCtimeMtime, conflictList should be called without having statedir informed. Just give the full path ? #TODO check if _getCtimeMtime | sort removal needs to be backported -#TODO: double .xz extension when sending email alert with attachment PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2017 by Orsiris de Jong" diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index c0e2808..c9d7f78 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -3,7 +3,7 @@ #### OFUNCTIONS MINI SUBSET #### _OFUNCTIONS_VERSION=2.1.4-rc1 -_OFUNCTIONS_BUILD=2017060701 +_OFUNCTIONS_BUILD=2017060901 #### _OFUNCTIONS_BOOTSTRAP SUBSET #### _OFUNCTIONS_BOOTSTRAP=true #### _OFUNCTIONS_BOOTSTRAP SUBSET END #### @@ -403,6 +403,7 @@ function SendAlert { fi eval "cat \"$LOG_FILE\" $COMPRESSION_PROGRAM > $ALERT_LOG_FILE" + ALERT_LOG_FILE="$ALERT_LOG_FILE$COMPRESSION_EXTENSION" if [ $? != 0 ]; then Logger "Cannot create [$ALERT_LOG_FILE]" "WARN" attachment=false @@ -1714,7 +1715,6 @@ function SetCompression { COMPRESSION_EXTENSION= fi fi - ALERT_LOG_FILE="$ALERT_LOG_FILE$COMPRESSION_EXTENSION" } function InitLocalOSDependingSettings {