chiark / gitweb /
nspawn: mount a clean instance of sysfs
[elogind.git] / src / journal / sd-journal.c
index 725c979c8799347555b831ab695aa86e2a43ea1d..0f7c02ce69c9d368d0d4346c1a8e1fd296d8893b 100644 (file)
@@ -1445,6 +1445,7 @@ static sd_journal *journal_new(int flags, const char *path) {
                 hashmap_free(j->directories_by_path);
                 free(j->path);
                 free(j);
+                return NULL;
         }
 
         return j;