added some nice output to log

This commit is contained in:
root@saturn committed 2016-04-29 14:45:27 +02:00
1 parent 4d16cfefe0
commit b82ed152dc
1 file changed
+3 -2
+3 -2
View File
@@ -22,10 +22,11 @@ flock -n 9 || exit
# only run rsync when there are changes
if diff -b <(curl -s "$lastupdate_url") "$target/lastupdate" >/dev/null; then
date +%s > $target/lastsync
echo "Sync was not needed" >> /opt/scripts/archlinux.log
date +%s > $target/lastsync
else
echo "Syncing" >> /opt/scripts/archlinux.log
if ! stty &>/dev/null; then
QUIET="-q"
fi