summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-29 10:56:23 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-29 10:56:23 +0000
commit78cb5feddc850e7836e94dd8c3b1b50eef39bbfb (patch)
tree8db8f2b9f0bd9d0ee0dc9e28e8ca945252665071
parent3f49387707bb221fd1ff64b8bb73f0a5d9cec1ae (diff)
downgrade `can't find +DISPLAY' to a warning until I figure things out.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index fa936e441e1..011450cc9e1 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.114 2007/05/24 10:06:35 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.115 2007/05/29 10:56:22 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -1309,7 +1309,7 @@ sub prepare
{
my ($self, $state) = @_;
my $fname = $state->{dir}.$self->{name};
- open(my $src, '<', $fname) or Fatal "Can't open $fname: $!";
+ open(my $src, '<', $fname) or Warn "Can't open $fname: $!";
while (<$src>) {
next if m/^\+\-+\s*$/;
s/^[+-] //;