aboutsummaryrefslogtreecommitdiffstats
path: root/backup
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2018-04-06 06:26:03 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2018-04-06 06:26:03 +0200
commit1d5d8961615ff385bbf9147fd5f6ecd71b7b119d (patch)
tree07b04978ff1eb78fa6f7c7b47670d5a09fda5944 /backup
parent4858406212ce03433e68a53d1972264c56802597 (diff)
Fixed minor bug
Diffstat (limited to 'backup')
-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