From: Tfindelkind Date: Wed, 16 Sep 2015 21:38:12 +0000 (+0200) Subject: Update fio2gnuplot X-Git-Tag: fio-2.2.11~32^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=b288c0485e5bd846a12ec48748067515bad66e85 Update fio2gnuplot --- 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)