fix(quickemu): resolve shellcheck SC2069 warnings
https://www.shellcheck.net/wiki/SC2069
This commit is contained in:
parent
f282e4eb44
commit
a1417acc7a
4
quickemu
4
quickemu
|
@ -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;;
|
||||||
|
|
Loading…
Reference in New Issue