]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: kvmx_running on debian bullseye
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Dec 2021 23:59:31 +0000 (20:59 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Dec 2021 23:59:31 +0000 (20:59 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 7e7a31121a59045b5c6413de622d53f323d14670..7478494657b97dd9845d78e3a3e3a305ab36c1e5 100755 (executable)
--- 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 $?
 }