diff options
author | Bryan Drewery <bryan@shatow.net> | 2021-08-19 18:07:50 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2021-08-19 18:07:50 +0300 |
commit | 967bd3e6f62c768e27641bf83cb7617ba7a16c8a (patch) | |
tree | 2fe7ebb45f2409d8994cc1c07b9c2f718d778722 /src | |
parent | cd937bc30f8e556d32405e5705ef147ac93e0e72 (diff) |
jail/image: Don't read -v as verbose for include_poudriere_confs
Diffstat (limited to 'src')
-rw-r--r-- | src/share/poudriere/common.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 222c5d21..baabd5cf 100644 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -3173,7 +3173,16 @@ include_poudriere_confs() { case ${flag} in j) jail="${OPTARG}" ;; p) ptname="${OPTARG}" ;; - v) debug=$((debug+1)) ;; + v) + case "${SCRIPTNAME}" in + # These commands have their own + # -v + jail.sh|image.sh) ;; + *) + debug=$((debug+1)) + ;; + esac + ;; z) setname="${OPTARG}" ;; *) ;; esac |