Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doas support to is_root_or_sudo_prefix
doas is not compatible with sudo flags. The codebase was checked for sudo-specific uses of this function, but none were found, all cases were in the form of `sudo <command>`. Replacing it with `doas <command>` yields the same result.
- Loading branch information