mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
quiet gcc
This commit is contained in:
parent
4c7a96ba14
commit
1cc431c42f
2
match.c
2
match.c
@ -421,8 +421,6 @@ command_matches(sudoers_cmnd, sudoers_args)
|
||||
* b) there are no args on command line and none required by sudoers OR
|
||||
* c) there are args in sudoers and on command line and they match
|
||||
* else return false.
|
||||
*
|
||||
* Could optimize patterns ending in "/*" to "/user_base"
|
||||
*/
|
||||
#define GLOB_FLAGS (GLOB_NOSORT | GLOB_MARK | GLOB_BRACE | GLOB_TILDE)
|
||||
if (glob(sudoers_cmnd, GLOB_FLAGS, NULL, &gl) != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user