aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 7e7a311..7478494 100755
--- a/kvmx
+++ b/kvmx
@@ -992,7 +992,7 @@ function kvmx_running {
#ps $PID &> /dev/null
# Better check were process should match a qemu binary
- ps -o command $PID | grep -q '^qemu'
+ ps -o command $PID | grep -q -E '(^qemu)|(qemu)'
return $?
}