chiark / gitweb /
sd-journal: do not require path to be absolute
[elogind.git] / src / journal / sd-journal.c
index 7ffbaf7cbf50b0998df795d34c4c8ef8afc52a23..ef4b9b2242a422c64867eb776feadc987eee566d 100644 (file)
@@ -1596,7 +1596,7 @@ _public_ int sd_journal_open_directory(sd_journal **ret, const char *path, int f
         if (!ret)
                 return -EINVAL;
 
-        if (!path || !path_is_absolute(path))
+        if (!path)
                 return -EINVAL;
 
         if (flags != 0)