return an error code when needed

This commit is contained in:
tth 2021-04-30 15:32:14 +02:00
parent 98affe4b40
commit b63b590e1d

View File

@ -169,6 +169,7 @@ if (1 != argc-optind) {
foo = convertir_fimg_en_machinable(argv[optind], "-", steps, norm_val);
if (foo) {
fprintf(stderr, "%s : got a %d from convertor\n", argv[0], foo);
return 1;
}
return 0;