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

Submitted by:	Brian Poole <raj@cerias.purdue.edu>
This commit is contained in:
dd 2001-09-06 12:21:21 +00:00
parent 4e29608365
commit ef6b539306

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;