Rev 1.11 introduced a bug where the processing became case insensative for

username to rm.

PR:		25961
Submitted by:	Linh Pham <lplist@closedsrc.org>
This commit is contained in:
David E. O'Brien 2001-04-15 20:01:02 +00:00
parent 5e75e35cca
commit 5efcb24b76
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75532

View File

@ -317,7 +317,7 @@ sub update_passwd_file {
print STDERR "\n${whoami}: Warning: couldn't set mode of $new_passwd_file to 0600 ($!)\n\tcontinuing, but please check mode of /etc/master.passwd!\n";
$skipped = 0;
while (<MASTER_PW>) {
if (not /^\Q$login_name:/io) {
if (not /^\Q$login_name:/o) {
print NEW_PW;
} else {
print STDERR "Dropped entry for $login_name\n" if $debug;