diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-09 16:44:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-09 19:43:43 +0200 |
commit | fc37d875a1c6cb00379399adb67f67858ee95403 (patch) | |
tree | 149354dcf34873ca4ff488044abe8ac414dd5cad /src/shared/path-lookup.c | |
parent | 638cece45da5a6e5fc7c410b619f35abb8df3ec7 (diff) | |
download | systemd-fc37d875a1c6cb00379399adb67f67858ee95403.tar.gz |
path-lookup: downgrade logging in lookup_paths_init() a bit
So far lookup_paths_init() did not log on its own beyond LOG_DEBUG,
fix one exception, in order to avoid duplicate logging.
Diffstat (limited to 'src/shared/path-lookup.c')
-rw-r--r-- | src/shared/path-lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index 7d7b890b47..075f4d1e6c 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -529,7 +529,7 @@ int lookup_paths_init( if (flags & LOOKUP_PATHS_TEMPORARY_GENERATED) { r = mkdtemp_malloc("/tmp/systemd-temporary-XXXXXX", &tempdir); if (r < 0) - return log_error_errno(r, "Failed to create temporary directory: %m"); + return log_debug_errno(r, "Failed to create temporary directory: %m"); } /* Note: when XDG_RUNTIME_DIR is not set this will not return -ENXIO, but simply set runtime_config to NULL */ |