Ensure that /var/log exists too

This commit is contained in:
Roy Marples 2007-08-02 08:41:31 +00:00
parent 67b04947b3
commit 9174c25aab

View File

@ -33,7 +33,7 @@ start() {
rm -f /.test.$$ rm -f /.test.$$
# Ensure that our basic dirs exist # Ensure that our basic dirs exist
for x in /var/lock /var/run /tmp ; do for x in /var/lock /var/log /var/run /tmp ; do
if ! [ -d "${x}" ] ; then if ! [ -d "${x}" ] ; then
if ! mkdir "${x}" ; then if ! mkdir "${x}" ; then
eend 1 "failed to create needed directory ${x}" eend 1 "failed to create needed directory ${x}"