system/spice-vdagent: Fix startup script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dio Putra 2021-10-22 13:34:58 +07:00 committed by Willy Sudiarto Raharjo
parent b6d5a8aa6f
commit 43f739b9c1
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -20,6 +20,7 @@ start() {
/sbin/modprobe uinput > /dev/null 2>&1
# In case the previous running vdagentd crashed
/usr/bin/rm -f /var/run/spice-vdagentd/spice-vdagent-sock
/usr/bin/mkdir -p /var/run/spice-vdagentd
/usr/bin/echo "Starting $prog: "
$exec -s $port
retval=$?