fi
# Lockfile location
- LOCKFILE="$TMP/$BASENAME/$DESTINATION.lock"
+ if [ "$OPTION" == "--continuous" ]; then
+ LOCKFILE="$TMP/$BASENAME/$DESTINATION-continuous.lock"
+ else
+ LOCKFILE="$TMP/$BASENAME/$DESTINATION.lock"
+ fi
}
# List
elif [ "$OPTION" == "--continuous" ]; then
borger_check_multiple
borger_config
+ borger_check_lockfile
+ borger_set_lockfile
# Convert the pass command to passphrase otherwise
# the user would be interrupted by a passphrase prompt