projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1451435
)
execute: passing NULL as second argument for recurse_dir() is equivalent to ""
author
Lennart Poettering
<lennart@poettering.net>
Wed, 13 Apr 2022 16:51:02 +0000
(18:51 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Apr 2022 09:32:46 +0000
(11:32 +0200)
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 4cc24466753af7243c68c889d888065a4c43123d..580589eab8279154ced5f9f6537acdbb7bf421bc 100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-2832,7
+2832,7
@@
static int acquire_credentials(
r = recurse_dir(
sub_fd,
- /* path= */
""
,
+ /* path= */
NULL
,
/* statx_mask= */ 0,
/* n_depth_max= */ UINT_MAX,
RECURSE_DIR_IGNORE_DOT|RECURSE_DIR_ENSURE_TYPE,