diff options
author | Dima Dorfman <dd@FreeBSD.org> | 2001-09-06 12:21:21 +0000 |
---|---|---|
committer | Dima Dorfman <dd@FreeBSD.org> | 2001-09-06 12:21:21 +0000 |
commit | f83081c3d6d98f28c15dcb3d89b4f86d7a8d2785 (patch) | |
tree | 459a0098d08655bc660009a9e3ff2d57370486ca | |
parent | 07f5036daae4df5aabbc6798daf831e181a94b95 (diff) | |
download | pw-darwin-f83081c3d6d98f28c15dcb3d89b4f86d7a8d2785.tar.gz pw-darwin-f83081c3d6d98f28c15dcb3d89b4f86d7a8d2785.tar.zst pw-darwin-f83081c3d6d98f28c15dcb3d89b4f86d7a8d2785.zip |
Print the correct filename if we fail to open $etc_passwd.
Submitted by: Brian Poole <raj@cerias.purdue.edu>
-rw-r--r-- | adduser/adduser.perl | 2 |
1 files changed, 1 insertions, 1 deletions
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(<P>) { chop; |