diff options
Diffstat (limited to 'usr.sbin/adduser/rmuser.perl')
-rw-r--r-- | usr.sbin/adduser/rmuser.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/adduser/rmuser.perl b/usr.sbin/adduser/rmuser.perl index c5c9b74..96a4ed1 100644 --- a/usr.sbin/adduser/rmuser.perl +++ b/usr.sbin/adduser/rmuser.perl @@ -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; |