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