sh.zio.backup: add prototyping
parent
6ad78d4e2c
commit
16ebb143a6
|
@ -86,7 +86,7 @@ function invoke_restic() {
|
||||||
--cache-dir "$cache_dir" \
|
--cache-dir "$cache_dir" \
|
||||||
--password-file "$restic_repo_passwd_file" \
|
--password-file "$restic_repo_passwd_file" \
|
||||||
--repo "$(cat $restic_repo_file)" \
|
--repo "$(cat $restic_repo_file)" \
|
||||||
$command $args | tee /dev/fd/3)"
|
$command $args | tee /dev/fd/3 2>&1)"
|
||||||
|
|
||||||
echo "------"
|
echo "------"
|
||||||
echo "$restic_out"
|
echo "$restic_out"
|
||||||
|
|
Loading…
Reference in New Issue