From owner-freebsd-commit Mon Mar 4 07:35:20 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA08399 for freebsd-commit-outgoing; Mon, 4 Mar 1996 07:35:20 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA08361 for cvs-all-outgoing; Mon, 4 Mar 1996 07:35:04 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA08318 Mon, 4 Mar 1996 07:34:45 -0800 (PST) Date: Mon, 4 Mar 1996 07:34:45 -0800 (PST) From: Bill Paul Message-Id: <199603041534.HAA08318@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass pw_yp.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk wpaul 96/03/04 07:34:44 Modified: usr.bin/chpass pw_yp.c Log: Fix small bug in get_yp_master(): this function is used to look for a master server and initialize the suser_override flag, but in a non-NIS environment is should be smart enough to just leave the flag cleared and return (unless forced with a command-line argument like -y). Otherwise, it will return an NIS-related error even if NIS isn't turned on. Pointed out by: ache Revision Changes Path 1.4 +13 -1 src/usr.bin/chpass/pw_yp.c