return an error code when needed
This commit is contained in:
parent
98affe4b40
commit
b63b590e1d
@ -169,6 +169,7 @@ if (1 != argc-optind) {
|
|||||||
foo = convertir_fimg_en_machinable(argv[optind], "-", steps, norm_val);
|
foo = convertir_fimg_en_machinable(argv[optind], "-", steps, norm_val);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
fprintf(stderr, "%s : got a %d from convertor\n", argv[0], foo);
|
fprintf(stderr, "%s : got a %d from convertor\n", argv[0], foo);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user