diff options
-rwxr-xr-x | borger | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -95,7 +95,11 @@ function borger_config { 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 @@ -283,6 +287,8 @@ elif [ "$OPTION" == "--info" ]; then 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 |