aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 3a2e1ee7..e629bcc2 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -12,7 +12,7 @@
12#include "log.h" 12#include "log.h"
13 13
14void sway_terminate(void) { 14void sway_terminate(void) {
15 exit(1); 15 exit(EXIT_FAILURE);
16} 16}
17 17
18int main(int argc, char **argv) { 18int main(int argc, char **argv) {
@@ -52,7 +52,7 @@ int main(int argc, char **argv) {
52#else 52#else
53 fprintf(stdout, "version not detected\n"); 53 fprintf(stdout, "version not detected\n");
54#endif 54#endif
55 exit(0); 55 exit(EXIT_SUCCESS);
56 break; 56 break;
57 } 57 }
58 } 58 }