This commit is contained in:
Amber 2021-07-02 17:10:47 +02:00
parent 5553b29f95
commit 68ec57d4f5
1 changed files with 1 additions and 1 deletions

View File

@ -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"