From a5600ff6e6ee8bdae9fb9ef750cc26f795589e23 Mon Sep 17 00:00:00 2001 From: Otho Date: Tue, 17 Jan 2023 00:41:22 -0500 Subject: [PATCH] Fixed missing space. --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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