fix(quickemu): resolve shellcheck SC2069 warnings

https://www.shellcheck.net/wiki/SC2069
This commit is contained in:
Martin Wimpress 2024-05-09 02:23:10 +01:00 committed by Martin Wimpress
parent f282e4eb44
commit a1417acc7a
1 changed files with 2 additions and 2 deletions

View File

@ -1524,10 +1524,10 @@ function monitor_send_cmd {
case "${monitor_channel}" in case "${monitor_channel}" in
socket) socket)
echo -e " - Sending: ${MSG}" 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) telnet)
echo -e " - Sending: ${MSG}" 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!" echo "ERROR! This should never happen!"
exit 1;; exit 1;;