Dave Cameron wrote: > doas(1) currently states: > -clip- > EXIT STATUS > The doas utility exits 0 on success, and >0 if an error occurs. It may > fail for one of the following reasons: > > o The config file /etc/doas.conf could not be parsed. > o The user attempted to run a command which is not permitted. > o The password was incorrect. > o The specified command was not found or is not executable. > -clip- > This is incorrect, doas returns the exit status of command as in:
no, this is inaccurate. after a successful exec, there is no doas process. it neither returns nor exits, it doesn't exist.