From a1417acc7ab61f9b4efee99495390ab076c606cc Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Thu, 9 May 2024 02:23:10 +0100 Subject: [PATCH] fix(quickemu): resolve shellcheck SC2069 warnings https://www.shellcheck.net/wiki/SC2069 --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index accf6b9..ecc7670 100755 --- a/quickemu +++ b/quickemu @@ -1524,10 +1524,10 @@ function monitor_send_cmd { case "${monitor_channel}" in socket) echo -e " - Sending: ${MSG}" - echo -e "${MSG}" | socat -,shut-down unix-connect:"${VM_MONITOR_SOCKETPATH}" 2>&1 > /dev/null;; + echo -e "${MSG}" | socat -,shut-down unix-connect:"${VM_MONITOR_SOCKETPATH}" > /dev/null 2>&1;; telnet) echo -e " - Sending: ${MSG}" - echo -e "${MSG}" | socat - tcp:"${MONITOR_TELNET_HOST}":"${MONITOR_TELNET_PORT}" 2>&1 > /dev/null;; + echo -e "${MSG}" | socat - tcp:"${MONITOR_TELNET_HOST}":"${MONITOR_TELNET_PORT}" > /dev/null 2>&1;; *) echo "ERROR! This should never happen!" exit 1;;