File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ MYPID="$$"
348348if [ ! -d " $LOG_DIR " ]; then
349349 fn_log_info " Creating log folder in '$LOG_DIR '..."
350350 mkdir -- " $LOG_DIR "
351- fi
351+ i
352352
353353# -----------------------------------------------------------------------------
354354# Handle case where a previous backup failed or was interrupted.
@@ -377,7 +377,7 @@ if [ -n "$(fn_find "$INPROGRESS_FILE")" ]; then
377377 fi
378378
379379 RUNNINGPID=" $( fn_run_cmd " cat $INPROGRESS_FILE " ) "
380- if ps -${PSFLAGS} p " $RUNNINGPID " -o " command" | grep " $APPNAME " > /dev/null ; then
380+ if ps -${PSFLAGS} p " $RUNNINGPID " -o " command" | grep -q " $APPNAME " ; then
381381 fn_log_error " Previous backup task is still active - aborting."
382382 exit 1
383383 fi
You can’t perform that action at this time.
0 commit comments