mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
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: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
4337bc57be
commit
78d27c6501
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user