aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index bd6b653..1fa643e 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1074,6 +1074,7 @@ run(char *startup_cmd)
const char *socket = wl_display_add_socket_auto(dpy);
if (!socket) {
wlr_backend_destroy(backend);
+ perror("startup: socket");
exit(EXIT_FAILURE);
}
@@ -1082,6 +1083,7 @@ run(char *startup_cmd)
if (!wlr_backend_start(backend)) {
wlr_backend_destroy(backend);
wl_display_destroy(dpy);
+ perror("startup: backend_start");
exit(EXIT_FAILURE);
}