ENH: Upon failure, properly return error code (!=0)
This commit is contained in:
@@ -522,7 +522,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
/* parse input and get user encoding parameters */
|
||||
if(parse_cmdline_decoder(argc, argv, ¶meters,&img_fol) == 1) {
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(img_fol.set_imgdir==1){
|
||||
|
||||
Reference in New Issue
Block a user