diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2014-04-08 14:01:10 -0700 |
|---|---|---|
| committer | Bryce Harrington <bryce@bryceharrington.org> | 2014-04-08 14:01:10 -0700 |
| commit | eea67e8a637b3fd5c73ea7d19b274eb2e4a5f325 (patch) | |
| tree | 1add74c54fd7274e57c6370934ebae609d412491 | |
| parent | e98a2e3b4527898e4453b5c83a00eae62353d93b (diff) | |
run_benchmark: Terminate if no results to process
| -rwxr-xr-x | run_benchmark | 3 |
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 } |