From daf0893282f3ad36c3fb70ab05dc61ec8d74f44c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Mar 2017 12:20:21 -0300 Subject: Use a stronger subshell syntax at kvmx-vdagent --- kvmx-vdagent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmx-vdagent') 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 -- cgit v1.2.3