aboutsummaryrefslogtreecommitdiff
path: root/kvmx-vdagent
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-10 12:20:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-10 12:20:21 -0300
commitdaf0893282f3ad36c3fb70ab05dc61ec8d74f44c (patch)
tree68ed1da1e57b5bddfdef575722769e4ff4d8edcc /kvmx-vdagent
parent3d4b9ed3853e6332754cb8e157d0f9f601e7ed2b (diff)
downloadkvmx-daf0893282f3ad36c3fb70ab05dc61ec8d74f44c.tar.gz
kvmx-daf0893282f3ad36c3fb70ab05dc61ec8d74f44c.tar.bz2
Use a stronger subshell syntax at kvmx-vdagent
Diffstat (limited to 'kvmx-vdagent')
-rwxr-xr-xkvmx-vdagent2
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