id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 7147,gdal_contour returns exit code 0 on failure,eschwartz,warmerdam,"I'm using gdal_contour to convert a grib file to shapefile. I found that some field names cause gdal_contour to fail (eg. if it contains a hyphen). That's fine -- I can use a different field name. The problem is that the process returns a exit code of 0. eg: {{{ $ gdal_contour -b 1 -a pressure-msl -nln pressure-msl -i 10000 -off 95000 ./source.grb2 ./out.shp ERROR 6: Failed to add field named 'pressure-msl' 0...10...20...30...40...50...60...70...80...90...100 - done. $ echo $? 0 }}} This makes it difficult to handle the error in my code. I would expect that a failure to generate the shapefile would result in an error code >=1",defect,closed,normal,2.2.3,default,2.2.1,normal,fixed,gdal_contour,