diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-08 10:48:27 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-08 10:48:27 +0100 |
commit | 46739dda053de12e4222b6ecfa6d09ca3b8fa78a (patch) | |
tree | 29187b20f0f42a556aee205d37ec4bea0ded27a3 /src/gamma-coopgamma.c | |
parent | Update LIST_RAMPS_STOP_VALUE_TYPES macro to reflect eariler changes in colorramp.c (diff) | |
download | redshift-ng-46739dda053de12e4222b6ecfa6d09ca3b8fa78a.tar.gz redshift-ng-46739dda053de12e4222b6ecfa6d09ca3b8fa78a.tar.bz2 redshift-ng-46739dda053de12e4222b6ecfa6d09ca3b8fa78a.tar.xz |
Misc improvements
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/gamma-coopgamma.c')
-rw-r--r-- | src/gamma-coopgamma.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")) { |