summaryrefslogtreecommitdiff
path: root/man/sd_path_lookup.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-26 17:40:33 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-27 20:12:45 +0100
commit2e09fa89068fb191010e8f927dd20463c31d7bb4 (patch)
treef5abbfa75023608885b36c84a5c3462ad3e6d209 /man/sd_path_lookup.xml
parente3420558512f880c46d14d23154582e3f9b3862b (diff)
downloadsystemd-2e09fa89068fb191010e8f927dd20463c31d7bb4.tar.gz
sd-path: handle case of missing runtime dir in test
Also document it in the man page.
Diffstat (limited to 'man/sd_path_lookup.xml')
-rw-r--r--man/sd_path_lookup.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/sd_path_lookup.xml b/man/sd_path_lookup.xml
index 35a1109af3..68c6812ab1 100644
--- a/man/sd_path_lookup.xml
+++ b/man/sd_path_lookup.xml
@@ -173,6 +173,14 @@
</varlistentry>
<varlistentry>
+ <term><constant>-ENXIO</constant></term>
+
+ <listitem><para>Query failed because of an undefined environment variable (e.g. for
+ <constant>SD_PATH_USER_RUNTIME</constant> when <varname>$XDG_RUNTIME_DIR</varname> is not
+ defined).</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>