repo-add: make --quiet output more quiet
Fixes FS#20403. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d201d1f312
commit
879fed5098
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ startdir="$PWD"
|
||||||
umask 0022
|
umask 0022
|
||||||
|
|
||||||
msg() {
|
msg() {
|
||||||
|
(( QUIET )) && return
|
||||||
local mesg=$1; shift
|
local mesg=$1; shift
|
||||||
printf "==> ${mesg}\n" "$@" >&1
|
printf "==> ${mesg}\n" "$@" >&1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue