aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-12-07 20:59:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-12-07 20:59:31 -0300
commit4d7e56a671f66b8e25077dd5b4bf55c40ab53253 (patch)
treef20787b0cc43e7b2f6bc855e816180786ac960dd
parentda1996d963a82db73933132fb2085b8560a3e852 (diff)
downloadkvmx-4d7e56a671f66b8e25077dd5b4bf55c40ab53253.tar.gz
kvmx-4d7e56a671f66b8e25077dd5b4bf55c40ab53253.tar.bz2
Fix: kvmx_running on debian bullseye
-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 $?
}