add a note about nsswitch.conf entry required for sudo-ldap
[debian/sudo] / sudo.c
diff --git a/sudo.c b/sudo.c
index 27af77a68c4712e68f9d1d0653ea2578d73d59e6..b9a7031e284d35a49ec07ce0c35401dcf4a3794a 100644 (file)
--- a/sudo.c
+++ b/sudo.c
 # include "nonunix.h"
 #endif
 
-#ifndef lint
-__unused static const char rcsid[] = "$Sudo: sudo.c,v 1.517 2009/05/27 00:49:07 millert Exp $";
-#endif /* lint */
-
 /*
  * Prototypes
  */
@@ -540,7 +536,7 @@ main(argc, argv, envp)
        sudo_endpwent();
        sudo_endgrent();
 
-       closefrom(def_closefrom + 1);
+       closefrom(def_closefrom);
 
 #ifndef PROFILING
        if (ISSET(sudo_mode, MODE_BACKGROUND) && fork() > 0) {