summaryrefslogtreecommitdiffstats
path: root/system/spice-vdagent/files/rc.spice-vdagent
diff options
context:
space:
mode:
Diffstat (limited to 'system/spice-vdagent/files/rc.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=$?