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.
This commit is contained in:
Daniel Eklöf 2021-05-01 10:46:40 +02:00
parent a1b41bd186
commit da923100ca
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 7 additions and 7 deletions

View file

@ -51,10 +51,10 @@
* Point values in `line-height`, `letter-spacing`,
`horizontal-letter-offset` and `vertical-letter-offset` are now
rounded, not truncated, when translated to pixel values.
* Foots exit code is now -27/229 when foot itself failed to launch
* Foots exit code is now -26/230 when foot itself failed to launch
(due to invalid command line options, client application/shell not
found etc). Footclients exit code is -28/228 when it itself fails
to launch (e.g. bad command line option) and -27/229 when the foot
found etc). Footclients exit code is -36/220 when it itself fails
to launch (e.g. bad command line option) and -26/230 when the foot
server failed to instantiate a new window
(https://codeberg.org/dnkl/foot/issues/466).