summaryrefslogtreecommitdiff
path: root/src/test/test-ipcrm.c
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 /src/test/test-ipcrm.c
parentcd8e857f88089cb5f70a17eea9883ed6c006e106 (diff)
test-ipcrm: use configured nobody user name (#5350)
"nfsnobody" is now obsolete.
Diffstat (limited to 'src/test/test-ipcrm.c')
-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) {