Closed puni2k closed 9 months ago
Commit 7a61394 introduced a bug that would cause the script execution to fail on some systems if sudo is the last entry in the group list of the respective user
See my comment here: #r138923544
Two of my systems running Debian 11 (grep 3.6) and 12 (grep 3.8) are affected by this, while another running Manjaro (grep 3.11) is not.
The following regex
^.*\bsudo\b.*
seems to work better on my systems. Not an expert on regexes though, so take it with a grain of salt.
Thanks
Commit 7a61394 introduced a bug that would cause the script execution to fail on some systems if sudo is the last entry in the group list of the respective user
See my comment here: #r138923544
Two of my systems running Debian 11 (grep 3.6) and 12 (grep 3.8) are affected by this, while another running Manjaro (grep 3.11) is not.
The following regex
seems to work better on my systems. Not an expert on regexes though, so take it with a grain of salt.