Change an hard coded path for logging times.

This commit is contained in:
Benoît S. 2014-02-14 16:39:52 +01:00
parent 3df881ca22
commit dff0d26c27

View file

@ -34,8 +34,8 @@ status=$?
tail -30 $tmplog >> $LOG && rm $tmplog
stop=$(date --rfc-3339=seconds)
echo "EvoBackup started at $start." >> /var/log/evobackup.log
echo "EvoBackup finished at $stop." >> /var/log/evobackup.log
echo "EvoBackup started at $start." >> $LOG
echo "EvoBackup finished at $stop." >> $LOG
# Send a report
# Did rsync sucessfully finished?
@ -46,4 +46,4 @@ if [ "$status" != 0 ]; then
else
tail -30 $LOG \
| mailx -s "[info] EvoBackup report for $hostname" $MAIL_TO
fi
fi