mirror of
https://github.com/laurent22/rsync-time-backup
synced 2024-11-10 14:14:16 +00:00
commit
69ef82f274
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ fi
|
|||
# -----------------------------------------------------------------------------
|
||||
|
||||
if [ -f "$INPROGRESS_FILE" ]; then
|
||||
if pgrep -F "$INPROGRESS_FILE" > /dev/null 2>&1 ; then
|
||||
if pgrep -F "$INPROGRESS_FILE" "$APPNAME"> /dev/null 2>&1 ; then
|
||||
fn_log_error "Previous backup task is still active - aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue