]> granicus.if.org Git - sudo/commitdiff
cosmetic change
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 24 Jan 2011 20:34:45 +0000 (15:34 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 24 Jan 2011 20:34:45 +0000 (15:34 -0500)
--HG--
branch : 1.7

parse.c

diff --git a/parse.c b/parse.c
index a6174c65491e94e3197c0e9e2590e98159ebf20c..acf8e5fdc8145b4a213558d446e47d917529a0bc 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -612,8 +612,7 @@ sudo_file_display_cmnd(nss, 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;
                    }
                }