diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/path/path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/path/path.c b/src/path/path.c index 20892fe1f2..5d6afb96f0 100644 --- a/src/path/path.c +++ b/src/path/path.c @@ -94,11 +94,11 @@ static int list_homes(void) { int q; q = sd_path_lookup(i, arg_suffix, &p); - if (q == -ENXIO) - continue; if (q < 0) { - log_error_errno(r, "Failed to query %s: %m", path_table[i]); - r = q; + log_full_errno(q == -ENXIO ? LOG_DEBUG : LOG_ERR, + q, "Failed to query %s: %m", path_table[i]); + if (q != -ENXIO) + r = q; continue; } |