diff --git a/backup.sh b/backup.sh index 23b66f0..4ab434b 100755 --- a/backup.sh +++ b/backup.sh @@ -45,7 +45,7 @@ run_send_recv() { ssh_cmd="ssh $SSH_SEND_OPTS -o port=$port $user@$addr" pv_cmd="pv -qL ${speed:-$DEFAULT_SPEED}" - if ["$ZB_TEST_MODE" = "TRUE" ]; then + if [ "$ZB_TEST_MODE" = "TRUE" ]; then echo "$send_cmd | $pv_cmd | $ssh_cmd $recv_cmd" else $send_cmd | $pv_cmd | $ssh_cmd $recv_cmd