mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
Print the correct filename if we fail to open $etc_passwd.
Submitted by: Brian Poole <raj@cerias.purdue.edu>
This commit is contained in:
parent
b88d4f49fe
commit
6680d16d19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83149
@ -235,7 +235,7 @@ sub passwd_read {
|
||||
local($p_username, $pw, $p_uid, $p_gid, $sh, %shlist);
|
||||
|
||||
print "Check $etc_passwd\n" if $verbose;
|
||||
open(P, "$etc_passwd") || die "$passwd: $!\n";
|
||||
open(P, "$etc_passwd") || die "$etc_passwd: $!\n";
|
||||
|
||||
while(<P>) {
|
||||
chop;
|
||||
|
Loading…
Reference in New Issue
Block a user