From 1f5c1dda14c457e782fed72641f0df34d1df9a04 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 24 Jan 2011 15:35:44 -0500 Subject: [PATCH] cosmetic change --- plugins/sudoers/parse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/sudoers/parse.c b/plugins/sudoers/parse.c index 0f3279697..e5c07f85e 100644 --- a/plugins/sudoers/parse.c +++ b/plugins/sudoers/parse.c @@ -589,8 +589,7 @@ sudo_file_display_cmnd(struct sudo_nss *nss, struct passwd *pw) if (runas_match == ALLOW) { cmnd_match = cmnd_matches(cs->cmnd); if (cmnd_match != UNSPEC) { - match = host_match && runas_match ? - cs->cmnd : NULL; + match = host_match && runas_match ? cs->cmnd : NULL; goto matched; } }