1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

execute: passing NULL as second argument for recurse_dir() is equivalent to ""

This commit is contained in:
Lennart Poettering 2022-04-13 18:51:02 +02:00
parent 1451435ca5
commit 3691083ce5

View File

@ -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,