Print the correct filename if we fail to open $etc_passwd.

Submitted by:	Brian Poole <raj@cerias.purdue.edu>
This commit is contained in:
Dima Dorfman 2001-09-06 12:21:21 +00:00
parent b88d4f49fe
commit 6680d16d19
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83149

View file

@ -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;