From 958439b8b6c1b33fbc26d041424957ab0fb7fb09 Mon Sep 17 00:00:00 2001 From: Marco Kundt Date: Wed, 25 Nov 2020 19:49:50 +0100 Subject: [PATCH] need to export here as well --- restic/.bin/restic_prune | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/restic/.bin/restic_prune b/restic/.bin/restic_prune index 39274f3..8d6a36f 100755 --- a/restic/.bin/restic_prune +++ b/restic/.bin/restic_prune @@ -1,6 +1,7 @@ #!/bin/bash -source $HOME/.bin/restic_common +. $HOME/.bin/restic_common +export RESTIC_PASSWORD="${RESTIC_PASSWORD}" info "Pruning snapshots" -restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune \ No newline at end of file +restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune