only warn about /run if it exists

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2011-05-16 18:49:21 -04:00
parent bb34ea886a
commit 3d56124ed1

View File

@ -111,7 +111,7 @@ if [ -d /run ]; then
chown root:uucp /run/lock chown root:uucp /run/lock
chmod 0775 /run/lock chmod 0775 /run/lock
fi fi
else elif [ -e /run ]; then
einfo "Unable to mount /run since it is not a directory" einfo "Unable to mount /run since it is not a directory"
fi fi