From b63b590e1d126146cd6a985b82d7f9cac3625297 Mon Sep 17 00:00:00 2001 From: tth Date: Fri, 30 Apr 2021 15:32:14 +0200 Subject: [PATCH] return an error code when needed --- tools/fimg2text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/fimg2text.c b/tools/fimg2text.c index e52d4daa..3935bb07 100644 --- a/tools/fimg2text.c +++ b/tools/fimg2text.c @@ -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;