diff options
-rwxr-xr-x | kvmx | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -519,7 +519,11 @@ function kvmx_running { return 1 fi - ps $PID &> /dev/null + # Simpler check + #ps $PID &> /dev/null + + # Better check were process should match a qemu binary + ps -o command $PID | grep -q '^qemu' return $? } |