diff options
Diffstat (limited to 'swaymsg/main.c')
-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 @@ | |||
11 | #include "readline.h" | 11 | #include "readline.h" |
12 | #include "log.h" | 12 | #include "log.h" |
13 | 13 | ||
14 | void sway_terminate(void) { | 14 | void sway_terminate(int exit_code) { |
15 | exit(EXIT_FAILURE); | 15 | exit(exit_code); |
16 | } | 16 | } |
17 | 17 | ||
18 | int main(int argc, char **argv) { | 18 | int main(int argc, char **argv) { |