diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-06-09 10:47:06 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-06-09 10:47:06 +0000 |
commit | cc1920f432df2166638f2af88f888bb5e29e519d (patch) | |
tree | cef6b6be24300cec727ec9837bdb57b3e246deff /usr.sbin | |
parent | 9844bd0b5b2e89e4056a4fb0a973891412e719d1 (diff) |
no need to fatal(), we can error() and keep going.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index b05aaf729bb..c42bc1e604e 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.11 2010/06/09 10:41:19 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.12 2010/06/09 10:47:05 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -167,7 +167,7 @@ sub compute_checksum my $chk = resolve_link($fname, $base); $fname =~ s|^//|/|; # cosmetic if (!defined $chk) { - $state->fatal("bogus symlink: #1 (too deep)", $fname); + $state->error("bogus symlink: #1 (too deep)", $fname); } elsif (!-e $chk) { $state->errsay("Warning: symlink #1 points to non-existent #2", $fname, $chk); |