Small improvements

This commit is contained in:
Andras Schmelczer 2024-06-02 12:41:32 +01:00
parent b9b0cae0d2
commit fa275b8b74
3 changed files with 17 additions and 8 deletions

View file

@ -37,7 +37,8 @@ configure_environment() {
}
main() {
if [ -n "$BORG_PASSPHRASE" ] && [ -n "$BORG_REPO" ]; then
if [ -n "$BORG_REPO" ]; then
# fallback case if multi-target backup isn't needed
execute_script
else
local index=0