summaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
-rwxr-xr-xrun_benchmark3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_benchmark b/run_benchmark
index 8f819a4..76855c4 100755
--- a/run_benchmark
+++ b/run_benchmark
@@ -33,6 +33,9 @@ run_caskbench() {
echo | tee -a ${outtxt}
# Add csv version of data
+ if [ ! -e ${outjson} ]; then
+ return 1
+ fi
./json2csv ${outjson} ${outcsv}
return 0
}