From da923100cad1000252c87b02a4132ce5878a28ec Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 1 May 2021 10:46:40 +0200 Subject: main/client: change exit code * foot exits with -26/230 * footclient exits with -36/220 This is to give each application a range of exit codes. Currently unused, but we may want to change this in the future. --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 388f816e..1445146c 100644 --- a/client.c +++ b/client.c @@ -71,7 +71,7 @@ main(int argc, char *const *argv) { /* Custom exit code, to enable users to differentiate between foot * itself failing, and the client application failiing */ - static const int foot_exit_failure = -28; + static const int foot_exit_failure = -36; int ret = foot_exit_failure; const char *const prog_name = argv[0]; -- cgit v1.3