From 3b7fe59d901f955ecade2fc35a039ffbd2219908 Mon Sep 17 00:00:00 2001 From: Peter Chubb Date: Thu, 1 Oct 2026 17:42:51 +1000 Subject: [PATCH] Redirect stdin from /dev/null when checking version Otherwise stuff typed o `mq.sh`'s stdin is echoed by the remote shell, and can wreck the version check. Signed-off-by: Peter Chubb --- mq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mq.sh b/mq.sh index 9d0e26c..22d6d74 100755 --- a/mq.sh +++ b/mq.sh @@ -76,7 +76,7 @@ if ! RemoteCommand exit; then fi # Check the version of our scripts compared to the canonical host -if ! RemoteCommand cat "${BASE}/VERSION" | +if ! RemoteCommand cat "${BASE}/VERSION"