summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-15 04:22:22 -0500
committerLennart Poettering <lennart@poettering.net>2017-02-15 10:22:22 +0100
commitcda3d0c240d345a238822b74d4614d4f412455a5 (patch)
tree2b0ad641a1e9f8c714ddc4ec608e1f73b6376e8e
parentcd8e857f88089cb5f70a17eea9883ed6c006e106 (diff)
downloadsystemd-cda3d0c240d345a238822b74d4614d4f412455a5.tar.gz
test-ipcrm: use configured nobody user name (#5350)
"nfsnobody" is now obsolete.
-rw-r--r--src/test/test-ipcrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-ipcrm.c b/src/test/test-ipcrm.c
index 463e135e2b..ce6c7aa18a 100644
--- a/src/test/test-ipcrm.c
+++ b/src/test/test-ipcrm.c
@@ -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) {