aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-16 18:49:21 -0400
committerMike Frysinger <vapier@gentoo.org>2011-05-16 18:49:21 -0400
commit3d56124ed1ec127ae091391dc05581197eb29eac (patch)
tree7a039b45bc8584aa7010728861fbdb5ba0032417 /sh
parentbb34ea886a872a7fcc07f1b6f8972a20718800e5 (diff)
only warn about /run if it exists
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sh')
-rw-r--r--sh/init.sh.Linux.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
index 96474ffd..21757fde 100644
--- a/sh/init.sh.Linux.in
+++ b/sh/init.sh.Linux.in
@@ -111,7 +111,7 @@ if [ -d /run ]; then
chown root:uucp /run/lock
chmod 0775 /run/lock
fi
-else
+elif [ -e /run ]; then
einfo "Unable to mount /run since it is not a directory"
fi