aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbackup2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup b/backup
index 597be80..9b71686 100755
--- a/backup
+++ b/backup
@@ -44,5 +44,5 @@ rsync $RSYNC_OPTS ${1%/}/* $2
if [ $? -eq 0 ]; then
echo "Backup successful." >> "$LOG_FILE"
else
- echo "Backup exited with code $?"
+ echo "Backup exited with code $?" >> "$LOG_FILE"
fi