From f882af77ff27406f9fb4eb3497e23c380f6c6cba Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 22 Sep 2014 21:41:52 +0200 Subject: [PATCH] Fixed typo --- osync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osync.sh b/osync.sh index 72fd0b8..73ad720 100755 --- a/osync.sh +++ b/osync.sh @@ -4,7 +4,7 @@ PROGRAM="Osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" PROGRAM_VERSION=0.99RC3+ -PROGRAM_BUILD=1209201402 +PROGRAM_BUILD=2209201401 ## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode if ! type -p "$BASH" > /dev/null @@ -204,7 +204,7 @@ function SendAlert Log "Current task is a quicksync task. Will not send any alert." return 0 fi - eval "cat $LOG_FILE $COMPRESSION_PROGRAM > $ALERT_LOG_PATH" + eval "cat $LOG_FILE $COMPRESSION_PROGRAM > $ALERT_LOG_FILE" MAIL_ALERT_MSG=$MAIL_ALERT_MSG$'\n\n'$(tail -n 25 "$LOG_FILE") if type -p mutt > /dev/null 2>&1 then