From f83081c3d6d98f28c15dcb3d89b4f86d7a8d2785 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Thu, 6 Sep 2001 12:21:21 +0000 Subject: Print the correct filename if we fail to open $etc_passwd. Submitted by: Brian Poole --- adduser/adduser.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adduser/adduser.perl') diff --git a/adduser/adduser.perl b/adduser/adduser.perl index b0dc174..8e54d09 100644 --- a/adduser/adduser.perl +++ b/adduser/adduser.perl @@ -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(

) { chop; -- cgit v1.2.3