diff options
Diffstat (limited to 'kvmx-vdagent')
-rwxr-xr-x | kvmx-vdagent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-vdagent b/kvmx-vdagent index c19dc84..9437a8e 100755 --- a/kvmx-vdagent +++ b/kvmx-vdagent @@ -19,7 +19,7 @@ # # Get instances -instances="`ps -o pid,command -e | grep "spice-vdagent$" | cut -d ' ' -f 2 | xargs`" +instances="$(ps -o pid,command -e | grep "spice-vdagent$" | cut -d ' ' -f 2 | xargs)" # Kill old instances for pid in $instances; do |