aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/init.sh.Linux.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
index 301c42ff..96474ffd 100644
--- a/sh/init.sh.Linux.in
+++ b/sh/init.sh.Linux.in
@@ -106,6 +106,8 @@ if [ -d /run ]; then
fi
if [ ! -d /run/lock ]; then
mkdir /run/lock
+ fi
+ if [ -d /run/lock ]; then
chown root:uucp /run/lock
chmod 0775 /run/lock
fi