summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-17 09:30:17 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-17 09:30:17 +0000
commit3d311af29daaebb58059bc9561302f717a5f7c58 (patch)
tree46b926875ee81e8df995bc3c44714d37da7e540d /usr.sbin
parentafba0e92a1a59f2f916568adbd3151567ce70ef4 (diff)
minor nit
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageLocator.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
index 9b1e9a1bf29..dc1790285d3 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageLocator.pm,v 1.35 2005/09/16 23:17:39 espie Exp $
+# $OpenBSD: PackageLocator.pm,v 1.36 2005/09/17 09:30:16 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -198,8 +198,8 @@ sub open_pipe
"-c",
"-q",
"-f",
- $self->{baseurl}.$object->{name};
- exit(1);
+ $self->{baseurl}.$object->{name}
+ or die "Can't run gzip";
}
}