diff options
-rwxr-xr-x | borger | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -175,6 +175,14 @@ elif [ "$OPTION" == "--check" ]; then elif [ "$OPTION" == "--continuous" ]; then borger_config + # Convert the pass command to passphrase otherwise + # the user would be interrupted by a passphrase prompt + # at every iteration + if [ ! -z "$BORG_PASSCOMMAND" ]; then + export BORG_PASSPHRASE="`$BORG_PASSCOMMAND`" + export BORG_PASSCOMMAND="" + fi + while true; do # Run as a subprocess so we do not exit on any fatal error $FULLNAME $DESTINATION |