diff options
-rw-r--r-- | usr.sbin/pkg_add/pkg_create | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create index c6a42d8d4d1..50865b0beb8 100644 --- a/usr.sbin/pkg_add/pkg_create +++ b/usr.sbin/pkg_add/pkg_create @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_create,v 1.55 2007/04/29 11:12:07 espie Exp $ +# $OpenBSD: pkg_create,v 1.56 2007/04/29 11:13:27 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -35,9 +35,8 @@ package OpenBSD::PackingElement; sub create_package { my ($self, $arc, $base, $verbose) = @_; - if (defined $arc) { - $self->archive($arc, $base); - } + + $self->archive($arc, $base); if ($verbose) { $self->comment_create_package(); } |