Ensure that /var/log exists too
This commit is contained in:
1 parent
67b04947b3
commit
9174c25aab
1 file changed
+1
-1
+1
-1
@@ -33,7 +33,7 @@ start() {
|
||||
rm -f /.test.$$
|
||||
|
||||
# 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 ! mkdir "${x}" ; then
|
||||
eend 1 "failed to create needed directory ${x}"
|
||||
|
||||
Reference in new issue
Block a user