diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-08-21 10:09:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 10:09:33 +0200 |
commit | 7692fed98b784be92f900151d867f0be0975e062 (patch) | |
tree | 74af3a142a54344cb739ff0bc485bb8ad5ef60ec /src/mount | |
parent | a795e5a9dd7a38817545226fec721075e5080ade (diff) | |
parent | 43ad3ad7ea3dfc93d91e8bc3a47a03596705c93c (diff) | |
download | systemd-7692fed98b784be92f900151d867f0be0975e062.tar.gz systemd-7692fed98b784be92f900151d867f0be0975e062.tar.bz2 systemd-7692fed98b784be92f900151d867f0be0975e062.zip |
Merge pull request #9783 from poettering/get-user-creds-flags
beef up get_user_creds() a bit and other improvements
Diffstat (limited to 'src/mount')
-rw-r--r-- | src/mount/mount-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index 2e88e40646..6c446d7549 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -223,7 +223,7 @@ static int parse_argv(int argc, char *argv[]) { case ARG_OWNER: { const char *user = optarg; - r = get_user_creds(&user, &arg_uid, &arg_gid, NULL, NULL); + r = get_user_creds(&user, &arg_uid, &arg_gid, NULL, NULL, 0); if (r < 0) return log_error_errno(r, r == -EBADMSG ? "UID or GID of user %s are invalid." |