From 24196f8ad7941c89750db2d3b2a6649320ca73b9 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Mon, 12 Apr 2021 13:25:42 +0200 Subject: [PATCH] TT#81700 be less verbose on ngcpcfg apply Change-Id: Id479d795a702bbd31269c630c09a0ed57828edc7 --- bench.sh | 6 +++--- set_config.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bench.sh b/bench.sh index fd90951e..595a6acc 100755 --- a/bench.sh +++ b/bench.sh @@ -69,7 +69,7 @@ if ! "${SKIP_CONFIG}" ; then ./bin/network_config.pl -g "${GROUP}" on ( cd /etc/ngcp-config || true - ngcpcfg apply "k-c-t ${GROUP} on" + ngcpcfg --summary-only apply "k-c-t ${GROUP} on" ) fi @@ -101,6 +101,6 @@ if ! "${SKIP_CONFIG}" ; then ./bin/network_config.pl -g"${GROUP}" off ( cd /etc/ngcp-config || true - ngcpcfg apply "k-c-t ${GROUP} off" + ngcpcfg --summary-only apply "k-c-t ${GROUP} off" ) -fi \ No newline at end of file +fi diff --git a/set_config.sh b/set_config.sh index d58903d2..c90638f4 100755 --- a/set_config.sh +++ b/set_config.sh @@ -35,7 +35,7 @@ echo "$(date) - Setting config debug on" echo "$(date) - Setting network config" "${BIN_DIR}/network_config.pl" -g "${GROUP}" on cd /etc/ngcp-config || exit 3 -if ! ngcpcfg apply "config debug on via kamailio-config-tests" ; then +if ! ngcpcfg --summary-only apply "config debug on via kamailio-config-tests" ; then echo "$(date) - ngcpcfg apply returned $?" error_flag=4 fi