From: Silvio Rhatto Date: Tue, 7 Dec 2021 23:59:31 +0000 (-0300) Subject: Fix: kvmx_running on debian bullseye X-Git-Tag: 0.1.0~47 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4d7e56a671f66b8e25077dd5b4bf55c40ab53253;p=kvmx.git Fix: kvmx_running on debian bullseye --- 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 $? }