diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-12-31 12:58:23 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-12-31 12:58:23 +0000 |
commit | 3245c42370da1774768a627d552b060246dc1a4c (patch) | |
tree | 41dc47dd2ebedacee14083ee963273fcede89ec6 /regress/usr.sbin/pkg_add/myadd | |
parent | 1abcd8fbe894fad8156926e4f43964ccb369cb9e (diff) |
remove all noise, have myadd display a simplified version of what it's doing
Diffstat (limited to 'regress/usr.sbin/pkg_add/myadd')
-rw-r--r-- | regress/usr.sbin/pkg_add/myadd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/usr.sbin/pkg_add/myadd b/regress/usr.sbin/pkg_add/myadd index 3d4637ab5e1..abf9d1af739 100644 --- a/regress/usr.sbin/pkg_add/myadd +++ b/regress/usr.sbin/pkg_add/myadd @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: myadd,v 1.1 2009/11/14 10:59:11 espie Exp $ +# $OpenBSD: myadd,v 1.2 2009/12/31 12:58:22 espie Exp $ # # Copyright (c) 2009 Marc Espie <espie@openbsd.org> # @@ -35,6 +35,7 @@ if ($ENV{'DEBUG'}) { unshift(@args, 'pkg_add'); $prog = 'pkg_add'; } +print join(' ', "pkg_add", @ARGV), "\n" unless $ENV{'SILENT'} || $ENV{'VERBOSE'}; print join(' ', @args), "\n" if $ENV{'VERBOSE'}; exec {$prog} @args; |