fix(quickemu): resolve shellcheck SC2069 warnings

https://www.shellcheck.net/wiki/SC2069
This commit is contained in:
Martin Wimpress 2024-05-07 12:13:22 +01:00 committed by Martin Wimpress
parent 1596179ca5
commit 394f955870
1 changed files with 1 additions and 1 deletions

View File

@ -1943,7 +1943,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
VM_UP=0
if [ -r "${VMDIR}/${VMNAME}.pid" ]; then
VM_PID=$(head -c50 "${VMDIR}/${VMNAME}.pid")
kill -0 ${VM_PID} 2>&1 >/dev/null
kill -0 ${VM_PID} > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "VM already started!"
VM_UP=1