From d1e67f739735e8969498e7b3f8188708e50bd197 Mon Sep 17 00:00:00 2001 From: tTh Date: Tue, 12 Nov 2024 11:36:57 +0100 Subject: [PATCH] add a missing exit() --- tools/fimg2png.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/fimg2png.c b/tools/fimg2png.c index 5003be7..ef08b30 100644 --- a/tools/fimg2png.c +++ b/tools/fimg2png.c @@ -92,6 +92,7 @@ if (2 != argc-optind) { foo = convertir_fimg_en_PNG(argv[optind], argv[optind+1], to_gray); if (foo) { fprintf(stderr, "%s : got a %d from convertor\n", argv[0], foo); + exit(1); } return 0;