From b288c0485e5bd846a12ec48748067515bad66e85 Mon Sep 17 00:00:00 2001 From: Tfindelkind Date: Wed, 16 Sep 2015 23:38:12 +0200 Subject: [PATCH] Update fio2gnuplot --- tools/plot/fio2gnuplot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/plot/fio2gnuplot b/tools/plot/fio2gnuplot index 2d64a6ea..1aef047a 100755 --- a/tools/plot/fio2gnuplot +++ b/tools/plot/fio2gnuplot @@ -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) -- 2.25.1