test-ipcrm: use configured nobody user name (#5350)

"nfsnobody" is now obsolete.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-02-15 04:22:22 -05:00 committed by Lennart Poettering
parent cd8e857f88
commit cda3d0c240

View file

@ -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) {