Commit d86d0f14 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm.sh: don't annotate printing separator line

It's useful, if you like execute bash -x zdtm.sh.
zdtm_sep isn't interesting for debugging needs.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f220e298
...@@ -175,7 +175,8 @@ BATCH_TEST=0 ...@@ -175,7 +175,8 @@ BATCH_TEST=0
SPECIFIED_NAME_USED=0 SPECIFIED_NAME_USED=0
zdtm_sep() zdtm_sep()
{ { (
set +x
local msg=$1 local msg=$1
[ -n "$msg" ] && msg=" $msg " [ -n "$msg" ] && msg=" $msg "
awk -v m=${2:-=} -v "msg=$msg" ' awk -v m=${2:-=} -v "msg=$msg" '
...@@ -186,7 +187,7 @@ zdtm_sep() ...@@ -186,7 +187,7 @@ zdtm_sep()
gsub(/ /, m, sep); gsub(/ /, m, sep);
printf("%s%s%s\n",sep,msg,sep); printf("%s%s%s\n",sep,msg,sep);
}' < /dev/null }' < /dev/null
} ) }
check_criu() check_criu()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment