summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 590977f..2cefcd6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1489,11 +1489,11 @@ int main(int argc, char *argv[])
if (ivi.remoting_api)
ivi_enable_remote_outputs(&ivi);
- ivi_shell_init_black_fs(&ivi);
-
if (create_listening_socket(display, socket_name) < 0)
goto error_compositor;
+ ivi_shell_init_black_fs(&ivi);
+
ivi.compositor->exit = handle_exit;
weston_compositor_wake(ivi.compositor);