diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-09-25 12:03:06 +0200 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-10-29 10:18:26 +0100 |
commit | 60a36a117019c1fe13186a8a152021fa126f86c6 (patch) | |
tree | 0f6190059b7e72bbdeb4675d0b8fb11282a13bdb /src/basic | |
parent | ff391acf2c61fec39a5260ad9b279d810ee78bc0 (diff) |
exec-util: add missing logging call
This function logs about all errors, but one case was forgotten. Fix
that.
(cherry picked from commit 653d469519f78d3931c0bc9fe5597d18454bef3d)
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/exec-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/exec-util.c b/src/basic/exec-util.c index 468c247c6..1abcdb56a 100644 --- a/src/basic/exec-util.c +++ b/src/basic/exec-util.c @@ -87,7 +87,7 @@ static int do_execute( r = conf_files_list_strv(&paths, NULL, NULL, CONF_FILES_EXECUTABLE|CONF_FILES_REGULAR|CONF_FILES_FILTER_MASKED, (const char* const*) directories); if (r < 0) - return r; + return log_error_errno(r, "Failed to enumerate executables: %m"); if (!callbacks) { pids = hashmap_new(NULL); |