test-ipcrm: use configured nobody user name (#5350)
"nfsnobody" is now obsolete.
This commit is contained in:
committed by
Lennart Poettering
parent
cd8e857f88
commit
cda3d0c240
@@ -24,7 +24,7 @@
|
||||
int main(int argc, char *argv[]) {
|
||||
uid_t uid;
|
||||
int r;
|
||||
const char* name = argv[1] ?: "nfsnobody";
|
||||
const char* name = argv[1] ?: NOBODY_USER_NAME;
|
||||
|
||||
r = get_user_creds(&name, &uid, NULL, NULL, NULL);
|
||||
if (r < 0) {
|
||||
|
||||
Reference in New Issue
Block a user