diff options
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c index 22572b6f..88a8fab0 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -11,8 +11,8 @@ #include "readline.h" #include "log.h" -void sway_terminate(void) { - exit(EXIT_FAILURE); +void sway_terminate(int exit_code) { + exit(exit_code); } int main(int argc, char **argv) { |