mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
labnag: return special value on timeout
...to avoid taking either of the <then> or <else> branches on timeout.
This commit is contained in:
parent
073fd02300
commit
09b4e9605e
4 changed files with 16 additions and 3 deletions
9
include/action-prompt-codes.h
Normal file
9
include/action-prompt-codes.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_ACTION_PROMPT_CODES_H
|
||||
#define LABWC_ACTION_PROMPT_CODES_H
|
||||
|
||||
#define LAB_EXIT_FAILURE 255
|
||||
#define LAB_EXIT_TIMEOUT 254
|
||||
#define LAB_EXIT_SUCCESS 0
|
||||
|
||||
#endif /* LABWC_ACTION_PROMPT_CODES_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue