Update backup.sh

This commit is contained in:
Adamo 2023-04-22 01:40:21 +00:00
parent 78b00e2f17
commit d759a558e0

View File

@ -44,7 +44,7 @@ debug()
run_send_recv()
{
ssh_cmd="ssh $SSH_SEND_OPTS -o port=$port $user@$addr"
pv_cmd="pv -qL ${speed:-$DEFAULT_SPEED}"
pv_cmd="pv -eL ${speed:-$DEFAULT_SPEED}"
if [ "$ZB_TEST_MODE" = "TRUE" ]; then
echo "$send_cmd | $pv_cmd | $ssh_cmd $recv_cmd"
else