summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2021-12-23 09:41:00 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-28 23:23:54 +0100
commit77723091696863e471cf8c27361fc203616a7b3e (patch)
treececd591945b88d351c5d409690cc65ccc51d783f /Base
parentab324c1dae86cdaf084b92ca88854cc7a15640eb (diff)
downloadserenity-77723091696863e471cf8c27361fc203616a7b3e.zip
LibCore+chown: Return ErrorOr<Optional<...>> for getgrnam and getpwnam
This patch returns an empty Optional<...> instead of an Error for Core::System::getgrname and Core::System::getpwnam if we can't find a matching group or user entry. It also updates the 'chown' utility to support this new behavior.
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions