-
Notifications
You must be signed in to change notification settings - Fork 223
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
INI file with server auth setting sudo=true does not use sudo #1520
Labels
bug
Confirmed bugs
Comments
Thanks for your report, @zmughal! I'll take a look at the tests and related code + docs to see how it's best to address this. If I find it possible without breaking any backwards compatibility, I'll probably go for supporting It's unlikely, but if something blocks this, I'll update the docs instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using
sudo=true
in an INI file as in the example forRex::Group::Lookup::INI
does not usesudo
because it checks if the value is== 1
, but this is a numeric comparison so"true" == 1
is false.How to reproduce it
Steps to reproduce the behavior:Shortest code example that demonstrates the bug:
Expected behavior
Should use
sudo
whensudo=true
is in the INI file.Per discussion on IRC with @ferki:
Circumstances
Debug logThe text was updated successfully, but these errors were encountered: