diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-07-03 20:08:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-07-03 20:08:14 +0200 |
commit | 2812dcba85435c59203268ab54901a72c6c24a69 (patch) | |
tree | 5a5ea9bfbe5d2aec7bf6aa9804a307cc6d3beb16 | |
parent | 42ec2c20eacaab3c6f244d3c7784a5908f64d07a (diff) | |
parent | ac892057c2ddd8f06323c73ebd80423cc3ec7190 (diff) |
Merge pull request #484 from xnox/persistent-journal
journal: in persistent mode create /var/log/journal, with all parents.
-rw-r--r-- | src/journal/journald-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index f7402984af..46358e1c1a 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -943,7 +943,7 @@ static int system_journal_open(Server *s, bool flush_requested) { * the machine path */ if (s->storage == STORAGE_PERSISTENT) - (void) mkdir("/var/log/journal/", 0755); + (void) mkdir_p("/var/log/journal/", 0755); fn = strjoina("/var/log/journal/", ids); (void) mkdir(fn, 0755); |