Skip to content

Commit 9869c0c

Browse files
authored
Merge pull request #38 from redhat-performance/fix_error_handling_typo
adding some spaces to error checks
2 parents 3b9badc + adbaea0 commit 9869c0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fio/fio_run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ obtain_avg()
269269
let "nitems=$nitems+1"
270270
field_separ="+"
271271
done
272-
if [ ${nitems} -eq 0]; then
272+
if [ ${nitems} -eq 0 ]; then
273273
calc=0
274274
else
275275
# Divide by 3 since the json output includes all three I/O types and we only care about one
@@ -294,7 +294,7 @@ obtain_avg_lat()
294294
let "nitems=$nitems+1"
295295
field_separ="+"
296296
done
297-
if [ ${nitems} -eq 0]; then
297+
if [ ${nitems} -eq 0 ]; then
298298
calc=0
299299
else
300300
# Divide by 3 since the json output includes all three I/O types and we only care about one

0 commit comments

Comments
 (0)