diff --git a/borgbackup.sh b/borgbackup.sh index a4c624c..8e0cb63 100644 --- a/borgbackup.sh +++ b/borgbackup.sh @@ -139,7 +139,7 @@ EOF #Repokey zusätzlich lokal speichern borg_keyexport() { - [ "$BORG_ENCRYPTION" == "repokey" ] && $BORG key export "$BORG_REPO" >$BORG_PATH/encrypted-repokey && \ + [ "$BORG_ENCRYPTION" == "repokey" ] && $BORG key export "$BORG_REPO" $BORG_PATH/encrypted-repokey && \ return 0 || return 1 }