提交 78d27c65 编写于 作者: J Jiri Denemark

cputest: Fix name of the file removed by cpu-parse.sh

We want to remove the file created by

    json <<<"$data" >$fname.json

in case it was empty.
Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 4337bc57
......@@ -53,5 +53,5 @@ json <<<"$data" >$fname.json
if [[ -s $fname.json ]]; then
echo $fname.json
else
rm $fname.new.json
rm $fname.json
fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册