summaryrefslogtreecommitdiffstats
path: root/system/spice-vdagent
diff options
context:
space:
mode:
author Dio Putra <dioput12@gmail.com>2021-10-22 13:34:58 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-22 13:34:58 +0700
commit43f739b9c1e830a97978c48c21c6b272db66ddc7 (patch)
treeb8591104b335354a2842f7aaefc988f4a4c9b536 /system/spice-vdagent
parentb6d5a8aa6f366c018e6578b97cff583c41d279b9 (diff)
downloadslackbuilds-43f739b9c1e830a97978c48c21c6b272db66ddc7.tar.gz
slackbuilds-43f739b9c1e830a97978c48c21c6b272db66ddc7.tar.xz
system/spice-vdagent: Fix startup script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/spice-vdagent')
-rw-r--r--system/spice-vdagent/files/rc.spice-vdagent1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/spice-vdagent/files/rc.spice-vdagent b/system/spice-vdagent/files/rc.spice-vdagent
index 16709ba5b7..8f079f9653 100644
--- a/system/spice-vdagent/files/rc.spice-vdagent
+++ b/system/spice-vdagent/files/rc.spice-vdagent
@@ -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=$?