mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Check the client_setup() return value
This commit is contained in:
parent
3dbdc40b0e
commit
a8b18b5159
@ -14,7 +14,9 @@ void sway_terminate(void) {
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
init_log(L_INFO);
|
||||
state = client_setup();
|
||||
if (!(state = client_setup())) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
uint8_t r = 0, g = 0, b = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user