diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-08-06 11:36:26 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-08-06 11:36:26 +0000 |
commit | 2d765fced7152c0bd320d04a9ef80968c7abd476 (patch) | |
tree | 802109ae922e1b1240bc1d2c32e172a70e775698 /usr.sbin/pkg_add | |
parent | ba3af0779def6fb183b449b240d3b6c4030fe8cf (diff) |
fix one of the most bizarre bugs in a while...
found by henning@.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index f134ef8e1bf..a1ed538aabc 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.43 2004/08/06 10:23:45 espie Exp $ +# $OpenBSD: pkg_add,v 1.44 2004/08/06 11:36:25 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -36,7 +36,8 @@ sub ensure_ldconfig { my $verbose = shift; return unless defined $OpenBSD::PackingElement::Lib::todo; - print "running ldconfig -m ", join(' ', keys %$OpenBSD: pkg_add,v 1.43 2004/08/06 10:23:45 espie Exp $verbose; + print "running ldconfig -m ", join(' ', keys %$OpenBSD::PackingElement::Lib::todo), "\n" + if $verbose; system($OpenBSD::PackingElement::Lib::ldconfig, "-m", keys %$OpenBSD::PackingElement::Lib::todo); undef $OpenBSD::PackingElement::Lib::todo; |