ECC-640: grib_ls -B crashes with non existent input file

This commit is contained in:
Shahram Najm 2018-02-27 15:35:59 +00:00
parent 022d086df7
commit 8517b20925
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ static int grib_tool_with_orderby(grib_runtime_options* options)
set=grib_fieldset_new_from_files(0,filenames,files_count,0,0,0,options->orderby,&err);
if (err) {
grib_context_log(c,GRIB_LOG_ERROR,"unable to create index for input file %s (%s)",
filenames[0],grib_get_error_message(err));
filenames[0],grib_get_error_message(err));
exit(err);
}