diff options
Diffstat (limited to 'swaybg')
-rw-r--r-- | swaybg/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swaybg/main.c b/swaybg/main.c index af0a1b27..db5af375 100644 --- a/swaybg/main.c +++ b/swaybg/main.c | |||
@@ -14,7 +14,9 @@ void sway_terminate(void) { | |||
14 | 14 | ||
15 | int main(int argc, char **argv) { | 15 | int main(int argc, char **argv) { |
16 | init_log(L_INFO); | 16 | init_log(L_INFO); |
17 | state = client_setup(); | 17 | if (!(state = client_setup())) { |
18 | return -1; | ||
19 | } | ||
18 | 20 | ||
19 | uint8_t r = 0, g = 0, b = 0; | 21 | uint8_t r = 0, g = 0, b = 0; |
20 | 22 | ||