From: Todd C. Miller Date: Sat, 21 Aug 2010 12:31:21 +0000 (-0400) Subject: Don't need to fork and wait when compiled with --disable-pam-session X-Git-Tag: SUDO_1_7_5~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edc20870ae4f5310b146e5f2c0e885cd24c80fc5;p=sudo Don't need to fork and wait when compiled with --disable-pam-session --HG-- branch : 1.7 --- diff --git a/sudo.c b/sudo.c index 63c727c6c..974191081 100644 --- a/sudo.c +++ b/sudo.c @@ -105,7 +105,7 @@ # include "nonunix.h" #endif -#ifdef HAVE_PAM +#if defined(HAVE_PAM) && !defined(NO_PAM_SESSION) # define CMND_WAIT TRUE #else # define CMND_WAIT FALSE