mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
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:
parent
a1b41bd186
commit
da923100ca
4 changed files with 7 additions and 7 deletions
2
client.c
2
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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue