Ensure that /var/log exists too
This commit is contained in:
parent
67b04947b3
commit
9174c25aab
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user