diff options
Diffstat (limited to 'system/spice-vdagent')
-rw-r--r-- | system/spice-vdagent/files/rc.spice-vdagent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/spice-vdagent/files/rc.spice-vdagent b/system/spice-vdagent/files/rc.spice-vdagent index 9c3ff19cc8da..16709ba5b7fc 100644 --- a/system/spice-vdagent/files/rc.spice-vdagent +++ b/system/spice-vdagent/files/rc.spice-vdagent @@ -31,7 +31,7 @@ start() { stop() { if [ "$(pidof $prog)" ]; then /usr/bin/echo "Stopping $prog: " - /bin/kill $pid + /bin/kill $(cat $pid) else /usr/bin/echo "$prog not running" return 1 |