Merge branch 'patch-1' of git://github.com/Tfindelkind/fio
authorJens Axboe <axboe@fb.com>
Wed, 16 Sep 2015 21:43:28 +0000 (15:43 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 16 Sep 2015 21:43:28 +0000 (15:43 -0600)
tools/plot/fio2gnuplot

index 2d64a6ea07129887672cdecdb693b72f4676befa..1aef047aa53aadc54f5563033615f4c157313658 100755 (executable)
@@ -488,6 +488,8 @@ def main(argv):
            # Insure that we don't have any starting or trailing dash to the filename
            gnuplot_output_filename = gnuplot_output_filename[:-1] if gnuplot_output_filename.endswith('-') else gnuplot_output_filename
            gnuplot_output_filename = gnuplot_output_filename[1:] if gnuplot_output_filename.startswith('-') else gnuplot_output_filename
+           if (gnuplot_output_filename == ''):
+               gnuplot_output_filename='default'       
 
     if parse_global==True:
        parse_global_files(fio_data_file, global_search)