summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-06-26 17:58:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-06-26 17:58:24 +0000
commit9611964bb46ef9d83c6abb76cdaa327fa484650e (patch)
tree558af3104c422cef5c99ceaf50e0bbb8d42cd99d /usr.sbin
parent2839ec5dfe0a837ba06a139825bf0391e4755c81 (diff)
missed one mark_as_installed.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_add4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 50b92f52e30..bef175003ce 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.326 2007/06/26 14:40:25 espie Exp $
+# $OpenBSD: pkg_add,v 1.327 2007/06/26 17:58:23 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -777,7 +777,7 @@ sub get_plist
OpenBSD::Add::tweak_package_status($pkgname, $state);
print "Not reinstalling $pkgname\n" if $state->{verbose} and
!$handle->{tweaked};
- $state->mark_as_installed($pkgname);
+ $state->mark_installed($pkgname);
$location->close_now;
$location->wipe_info;
$handle->set_error(ALREADY_INSTALLED);