2
0
Fork 0

zio-backup: fix args not appending

main
Ducky 2022-02-23 05:33:37 +00:00
parent dc0f2aa433
commit ac1714cb4a
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ function restic_exec() {
--cleanup-cache \ --cleanup-cache \
--password-file "$passwd_file" \ --password-file "$passwd_file" \
--repo "$repo" \ --repo "$repo" \
$command `[[ -s $args ]] && echo "$args"` $command $args
fi fi
} }
@ -49,7 +49,7 @@ function backup() {
--exclude-if-present ".nobackup" \ --exclude-if-present ".nobackup" \
--host "$host" \ --host "$host" \
--tag "$tag" \ --tag "$tag" \
`[[ -s $args ]] && echo "$args"` "$path" $args "$path"
fi fi
} }