]> granicus.if.org Git - sudo/commitdiff
Fix debugging printout output for env_should_keep()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Oct 2014 16:11:08 +0000 (10:11 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Oct 2014 16:11:08 +0000 (10:11 -0600)
plugins/sudoers/env.c

index 7a74d4f5653a17fdc8db32af7498e9ee23978614..718398b3892485106b86601c41813db512557c46 100644 (file)
@@ -677,7 +677,7 @@ env_should_keep(const char *var)
        }
     }
     sudo_debug_printf(SUDO_DEBUG_INFO, "keep %s: %s",
-       var, keepit ? "YES" : "NO");
+       var, keepit == true ? "YES" : "NO");
     debug_return_bool(keepit == true);
 }