summaryrefslogtreecommitdiff
path: root/src/notify/notify.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-21 10:09:33 +0200
committerGitHub <noreply@github.com>2018-08-21 10:09:33 +0200
commit7692fed98b784be92f900151d867f0be0975e062 (patch)
tree74af3a142a54344cb739ff0bc485bb8ad5ef60ec /src/notify/notify.c
parenta795e5a9dd7a38817545226fec721075e5080ade (diff)
parent43ad3ad7ea3dfc93d91e8bc3a47a03596705c93c (diff)
downloadsystemd-7692fed98b784be92f900151d867f0be0975e062.tar.gz
Merge pull request #9783 from poettering/get-user-creds-flags
beef up get_user_creds() a bit and other improvements
Diffstat (limited to 'src/notify/notify.c')
-rw-r--r--src/notify/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c
index 7ee7c342ff..243af7ba81 100644
--- a/src/notify/notify.c
+++ b/src/notify/notify.c
@@ -115,7 +115,7 @@ static int parse_argv(int argc, char *argv[]) {
case ARG_UID: {
const char *u = optarg;
- r = get_user_creds(&u, &arg_uid, &arg_gid, NULL, NULL);
+ r = get_user_creds(&u, &arg_uid, &arg_gid, NULL, NULL, 0);
if (r == -ESRCH) /* If the user doesn't exist, then accept it anyway as numeric */
r = parse_uid(u, &arg_uid);
if (r < 0)