summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-07-30 10:51:59 -0700
committerTom Cherry <tomcherry@google.com>2019-07-30 12:44:35 -0700
commitd17c37952de1df556726ed1ebb9fe8e3ee3b3bf7 (patch)
treeb035fefa6e6350ccf666f2b0829a8bc7124cad31 /base/errors_unix.cpp
parent244d9b8fb968b9f0289ac69d723a4f760d1c1b91 (diff)
init: ignore ENOENT from fewer builtins
Previously we were ignoring ENOENT from all builtins as rootdir/init.rc has many legacy commands that we need to keep for backwards compatibility, but are otherwise no longer relevant. However, this wasn't catching actual issues, for example chown failing due to not finding the user or group name. This change therefore reduces the scope of ignoring ENOENT to the only the extraneous errors in builtins. Test: boot CF and walleye without seeing errors from init.rc Test: see errors from invalid users/groups in chown Change-Id: Ia8e14fa2591e083cb1736c313a3e55515bc5d15e
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions