diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-01 08:46:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-04 08:41:22 +0000 |
| commit | da923100cad1000252c87b02a4132ce5878a28ec (patch) | |
| tree | 0a0157f023635340b25199605fa999491d0d87a0 /client.c | |
| parent | foot/footclient: use a custom exit code when foot/footclient fail to run (diff) | |
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.
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |
