sh.zio.backup: attempt to fix bad formatting error
parent
de04351074
commit
c94f4c8584
|
@ -81,8 +81,12 @@ function invoke_restic() {
|
|||
|
||||
while true; do
|
||||
exec 3>&1
|
||||
|
||||
restic_out="$($restic_path" --cache-dir "$cache_dir" --password-file "$restic_repo_passwd_file" --repo "$(cat $restic_repo_file)" $command $args | tee /dev/fd/3)"
|
||||
|
||||
restic_out="$("$restic_path" \
|
||||
--cache-dir "$cache_dir" \
|
||||
--password-file "$restic_repo_passwd_file" \
|
||||
--repo "$(cat $restic_repo_file)" \
|
||||
$command $args | tee /dev/fd/3)"
|
||||
|
||||
if [[ $? == 0 ]]; then
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue