Skip to content
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

sudo/doas check too global #89

Open
jshufro opened this issue Dec 30, 2022 · 0 comments
Open

sudo/doas check too global #89

jshufro opened this issue Dec 30, 2022 · 0 comments

Comments

@jshufro
Copy link
Contributor

jshufro commented Dec 30, 2022

64f1406 elevated the sudo/doas check to the top level of the script, but since it's only used when -d isn't passed, that's a bit too universal.

Perhaps that commit should be reverted and detect_sudo_command >&2 should be invoked just after if [ -z "$NO_DEPS" ]; then and before the case statements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant