add a missing exit()

This commit is contained in:
tTh 2024-11-12 11:36:57 +01:00
parent 28453e862a
commit d1e67f7397

View File

@ -92,6 +92,7 @@ if (2 != argc-optind) {
foo = convertir_fimg_en_PNG(argv[optind], argv[optind+1], to_gray); foo = convertir_fimg_en_PNG(argv[optind], argv[optind+1], to_gray);
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);
exit(1);
} }
return 0; return 0;