Seems natural to be able to specify relative directory,
e.g. with journalctl -D. And even if, this should be checked
in front-end code, not in the library.
<term><option>-D</option></term>
<term><option>--directory=</option></term>
<term><option>-D</option></term>
<term><option>--directory=</option></term>
- <listitem><para>Takes an absolute
+ <listitem><para>Takes a
directory path as argument. If
specified journalctl will operate on the
specified journal directory instead of
directory path as argument. If
specified journalctl will operate on the
specified journal directory instead of
if (!ret)
return -EINVAL;
if (!ret)
return -EINVAL;
- if (!path || !path_is_absolute(path))
return -EINVAL;
if (flags != 0)
return -EINVAL;
if (flags != 0)