From 46739dda053de12e4222b6ecfa6d09ca3b8fa78a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Mar 2025 10:48:27 +0100 Subject: Misc improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-coopgamma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gamma-coopgamma.c') diff --git a/src/gamma-coopgamma.c b/src/gamma-coopgamma.c index e108e86..db0db4a 100644 --- a/src/gamma-coopgamma.c +++ b/src/gamma-coopgamma.c @@ -422,7 +422,7 @@ coopgamma_set_option(struct gamma_state *state, const char *key, const char *val printf(" %s\n", state->methods[i]); if (ferror(stdout)) eprintf("printf:"); - exit(EXIT_SUCCESS); + exit(0); } state->method = estrdup(value); } else if (!strcasecmp(key, "display")) { -- cgit v1.2.3-70-g09d2