Permalink
Browse files

had /home/phil... instead of /home/$USER_NAME... - user reported, sor…

…ry about that, thanks!
  • Loading branch information...
philcryer committed May 2, 2011
1 parent 9dcb14e commit be3557b32acd74f9842decdd5224bface6737493
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/lipsync
View
@@ -33,7 +33,7 @@ echo "`date "+%a %b %d %T %Y"` Cron: updated $REMOTE_HOST -> $LOCAL_HOST" >> /ho
###############
# get line number of last run
###############
-LAST_RUN=`cat /home/phil/.lipsyncd/lipsyncd.log | grep --line-number "] receiving file list" | tail -n1 | cut -d':' -f1`
+LAST_RUN=`cat /home/$USER_NAME/.lipsyncd/lipsyncd.log | grep --line-number "] receiving file list" | tail -n1 | cut -d':' -f1`
###############
# count deleted files since LAST_RUN

0 comments on commit be3557b

Please sign in to comment.