aboutsummaryrefslogtreecommitdiffstats
path: root/swaygrab/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaygrab/main.c')
-rw-r--r--swaygrab/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaygrab/main.c b/swaygrab/main.c
index 63cf223f..e60d154f 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -10,7 +10,7 @@
10#include "ipc-client.h" 10#include "ipc-client.h"
11 11
12void sway_terminate(void) { 12void sway_terminate(void) {
13 exit(1); 13 exit(EXIT_FAILURE);
14} 14}
15 15
16int numlen(int n) { 16int numlen(int n) {
@@ -163,7 +163,7 @@ int main(int argc, char **argv) {
163#else 163#else
164 fprintf(stdout, "version not detected\n"); 164 fprintf(stdout, "version not detected\n");
165#endif 165#endif
166 exit(0); 166 exit(EXIT_SUCCESS);
167 break; 167 break;
168 } 168 }
169 } 169 }