summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2004-11-18 21:56:03 +0000
committerespie <espie@openbsd.org>2004-11-18 21:56:03 +0000
commitcbb60496b72c6daca810cd313cc0ae126dfe52ce (patch)
treedf2d524e20d6dc07d4c6d82dd2da51d503273179
parentdocument @wantlib, @depend. Provide -P and -W flags to be able to specify (diff)
downloadwireguard-openbsd-cbb60496b72c6daca810cd313cc0ae126dfe52ce.tar.xz
wireguard-openbsd-cbb60496b72c6daca810cd313cc0ae126dfe52ce.zip
unsafe operations is better than impossible to update, especially since it
can go on anyways.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index 75961b99792..1ea98ed3e84 100644
--- a/usr.sbin/pkg_add/OpenBSD/Update.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Update.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Update.pm,v 1.33 2004/11/18 21:48:02 espie Exp $
+# $OpenBSD: Update.pm,v 1.34 2004/11/18 21:56:03 espie Exp $
#
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
#
@@ -218,7 +218,7 @@ sub can_do
my $plist = OpenBSD::PackingList->from_installation($toreplace);
$plist->visit('can_update', 0, $state);
if ($state->{okay} == 0) {
- Warn "Old package contains impossible to update elements\n";
+ Warn "Old package contains unsafe operations\n";
}
if ($state->{forced}->{update}) {
$state->{okay} = 1;