Merge pull request #15718 from poettering/tmpfiles-offline

tmpfiles: read /etc/passwd + /etc/group with fgetpwent()/fgetgrent() if --root= is specified
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-05-08 11:22:19 +02:00
committed by GitHub
6 changed files with 206 additions and 17 deletions
+1 -1
View File
@@ -1814,7 +1814,7 @@ static int parse_argv(int argc, char *argv[]) {
break;
case ARG_ROOT:
r = parse_path_argument_and_warn(optarg, true, &arg_root);
r = parse_path_argument_and_warn(optarg, /* suppress_root= */ false, &arg_root);
if (r < 0)
return r;
break;