summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-10-18 09:38:36 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-10-18 09:38:36 +0000
commit68e1488dc876cae1cd0856682c51ab94ce0ff2c6 (patch)
treed3f6c22e1c17406b42fb28b4d8cb5d36332a8545
parent47a8bfb6c9f11623503f9a22091f27f177a6d0bd (diff)
fix report of final problems
-rw-r--r--usr.sbin/pkg_add/pkg_add6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 6641dba0344..72b9d2fc386 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.78 2004/10/17 09:32:21 espie Exp $
+# $OpenBSD: pkg_add,v 1.79 2004/10/18 09:38:35 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -914,7 +914,7 @@ while (my $pkg = shift @todo) {
}
};
-my $dielater = @_;
+my $dielater = $@;
OpenBSD::PackingElement::Fontdir::finish_fontdirs();
manpages_index($state);
@@ -929,5 +929,5 @@ if (defined $state->{display}) {
System("$pager ".$state->{displayname});
}
if ($dielater) {
- die $@;
+ die $dielater;
}