Merge pull request #9783 from poettering/get-user-creds-flags
beef up get_user_creds() a bit and other improvements
This commit is contained in:
@@ -219,7 +219,7 @@ static int condition_test_user(Condition *c) {
|
||||
return streq(c->parameter, "root");
|
||||
|
||||
u = c->parameter;
|
||||
r = get_user_creds(&u, &id, NULL, NULL, NULL);
|
||||
r = get_user_creds(&u, &id, NULL, NULL, NULL, USER_CREDS_ALLOW_MISSING);
|
||||
if (r < 0)
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user