-
Notifications
You must be signed in to change notification settings - Fork 155
Add doas
support.
#123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add doas
support.
#123
Conversation
Why not 😅
Or change to check for both sudo's absence and doas existence if sudo should be preferred if available. |
Fixed up the syntax. Also, if neither doas nor sudo is found, use good ol' |
The first "if" statement is broken. Please see my commit here for working code (which I also cleaned-up a bit to my own taste): |
This will make all 11
doas
users very happy :)