diff --git a/syncloop.sh b/syncloop.sh index 314f733..35df2b6 100755 --- a/syncloop.sh +++ b/syncloop.sh @@ -38,7 +38,7 @@ synccycle() { maxpulllimit=30 while : do - if [ -f "$TMPQUEUEFILE" ]; then + if [ -f "$TMPQUEUEFILE" ] || [ -f "$TMPQUEUEDELETES" ]; then nqueue=$(wc -l < ${TMPQUEUEFILE}) if [ $nqueue -gt 0 ]; then echo "${TMPQUEUEFILE} not empty syncing ${nqueue} actions from queue"