fix(quickemu): resolve shellcheck SC2069 warnings
https://www.shellcheck.net/wiki/SC2069
This commit is contained in:
parent
1596179ca5
commit
394f955870
2
quickemu
2
quickemu
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue