# HG changeset patch # User Space Falcon # Date 1439076235 0 # Node ID bc465afed42345f02c79a4e26522367eed1cf3c4 # Parent 2af4a85daf898c699c01545047d3d7b46f9961e3 unet2pads: exit with an error if the pads_parttype is missing on any component diff -r 2af4a85daf89 -r bc465afed423 ueda/unet-utils/unet2pads.c --- a/ueda/unet-utils/unet2pads.c Sat Aug 08 23:06:59 2015 +0000 +++ b/ueda/unet-utils/unet2pads.c Sat Aug 08 23:23:55 2015 +0000 @@ -250,6 +250,8 @@ input_filename = argv[1]; output_filename = argv[2]; process_input_unet(); + if (no_parttype_errors) + exit(1); generate_output(); exit(0); }