chiark / gitweb /
sd-journal: do not require path to be absolute
[elogind.git] / src / journal / sd-journal.c
index 7ffbaf7..ef4b9b2 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)