diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-03-30 21:46:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-03-31 11:25:01 +0200 |
commit | a85daa0dfb3eb03be9845760e90e54b9af8fb00e (patch) | |
tree | 266409bb274df12e249c09ebd70f43d10ddd99a2 /presets/90-systemd.preset | |
parent | homectl: fix a typo (diff) | |
download | systemd-a85daa0dfb3eb03be9845760e90e54b9af8fb00e.tar.xz systemd-a85daa0dfb3eb03be9845760e90e54b9af8fb00e.zip |
user-util: switch order of checks in valid_user_group_name_or_id_full()
When we are supposed to accept numeric UIDs formatted as string, then
let's check that first, before passing things on to
valid_user_group_name_full(), since that might log about, and not the
other way round.
See: #15201
Follow-up for: 93c23c9297e48e594785e0bb9c51504aae5fbe3e
Diffstat (limited to 'presets/90-systemd.preset')
0 files changed, 0 insertions, 0 deletions