]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: kvmx_running on debian bullseye (2)
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Dec 2021 00:00:12 +0000 (21:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Dec 2021 00:00:12 +0000 (21:00 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 7478494657b97dd9845d78e3a3e3a305ab36c1e5..a486271c866b57b7abfcd0dd5cfed32cbbbc62b8 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 -E '(^qemu)|(qemu)'
+  ps -o command $PID | grep -q -E '(^kvm)|(^qemu)'
 
   return $?
 }