Small improvements
This commit is contained in:
parent
b9b0cae0d2
commit
fa275b8b74
3 changed files with 17 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue