[Pkg-shadow-commits] r1610 - upstream/trunk/src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Tue Jan 1 17:43:18 UTC 2008


Author: nekral-guest
Date: 2008-01-01 17:43:18 +0000 (Tue, 01 Jan 2008)
New Revision: 1610

Modified:
   upstream/trunk/src/pwck.c
Log:
use_system_pw_file and use_system_spw_file were not reset.


Modified: upstream/trunk/src/pwck.c
===================================================================
--- upstream/trunk/src/pwck.c	2008-01-01 16:58:13 UTC (rev 1609)
+++ upstream/trunk/src/pwck.c	2008-01-01 17:43:18 UTC (rev 1610)
@@ -142,11 +142,13 @@
 	if (optind != argc) {
 		pwd_file = argv[optind];
 		pw_name (pwd_file);
+		use_system_pw_file = 0;
 	}
 	if (optind + 2 == argc) {
 		spw_file = argv[optind + 1];
 		spw_name (spw_file);
 		is_shadow = 1;
+		use_system_spw_file = 0;
 	} else if (optind == argc)
 		is_shadow = spw_file_present ();
 }




More information about the Pkg-shadow-commits mailing list