syncloop
This commit is contained in:
parent
5553b29f95
commit
68ec57d4f5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue