diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2022-05-28 23:20:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2022-05-28 23:20:29 +0000 |
commit | 582c02155797198430396badab73312130bff4aa (patch) | |
tree | fc2273c1083c7eaa4d493a0df02dbc6164c55ae2 /usr.sbin | |
parent | 19a3d7c262236c2d69afc198aa7a0a9286fecff4 (diff) |
EOF does not result in an error code, as spotted by stsp@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Ustar.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Ustar.pm b/usr.sbin/pkg_add/OpenBSD/Ustar.pm index 8fb2e3e3155..16434ef4c69 100644 --- a/usr.sbin/pkg_add/OpenBSD/Ustar.pm +++ b/usr.sbin/pkg_add/OpenBSD/Ustar.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Ustar.pm,v 1.90 2022/05/08 13:31:41 espie Exp $ +# $OpenBSD: Ustar.pm,v 1.91 2022/05/28 23:20:28 espie Exp $ # # Copyright (c) 2002-2014 Marc Espie <espie@openbsd.org> # @@ -115,7 +115,7 @@ sub skip $self->fatal("Error while skipping archive: #1", $!); } if ($actual == 0) { - $self->fatal("Premature end of archive in header: #1", $!); + $self->fatal("Premature end of archive in header"); } $self->{swallow} -= $actual; } |