scripts/rxe_cfg: Add env switch to skip printing status header
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6993 (master)
(cherry picked from commit 4d52dae32a
)
Change-Id: Ibc3149b5b9591826ff9aeed38457c2aa9ff747e4
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7746
Tested-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
94abf2d8c2
commit
0896f85b59
@ -172,6 +172,10 @@ print_status() {
|
||||
local field field_ref fieldidx
|
||||
local pad
|
||||
|
||||
if [[ -n $NO_HEADER ]]; then
|
||||
unset -v "lines[0]"
|
||||
fi
|
||||
|
||||
for field_ref in "${lines[@]}"; do
|
||||
printf ' '
|
||||
fieldidx=0
|
||||
|
Loading…
Reference in New Issue
Block a user