mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
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: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
f220e29889
commit
d86d0f14e9
@ -175,7 +175,8 @@ BATCH_TEST=0
|
||||
SPECIFIED_NAME_USED=0
|
||||
|
||||
zdtm_sep()
|
||||
{
|
||||
{ (
|
||||
set +x
|
||||
local msg=$1
|
||||
[ -n "$msg" ] && msg=" $msg "
|
||||
awk -v m=${2:-=} -v "msg=$msg" '
|
||||
@ -186,7 +187,7 @@ zdtm_sep()
|
||||
gsub(/ /, m, sep);
|
||||
printf("%s%s%s\n",sep,msg,sep);
|
||||
}' < /dev/null
|
||||
}
|
||||
) }
|
||||
|
||||
check_criu()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user