projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed689f7
)
exec-util: add missing logging call
author
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Sep 2018 10:03:06 +0000
(12:03 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Sep 2018 10:04:14 +0000
(12:04 +0200)
This function logs about all errors, but one case was forgotten. Fix
that.
src/basic/exec-util.c
patch
|
blob
|
history
diff --git
a/src/basic/exec-util.c
b/src/basic/exec-util.c
index 169bef11fa94809fe7999a9b0c8b7fce83f506bd..aa26902a20cb50d7ce6d5edb2586df2b50835c7a 100644
(file)
--- 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);