aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-17 07:38:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-17 07:38:54 +0000
commit519f7215779693b41225d560a3a600b08a1218e5 (patch)
tree75451f385f114b4f168e6778b1e038340e604257
parentslave: exec shell from conf (diff)
main: jump to cleanup on failure to load cursor pointer theme
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7e4cd1e9..117b202c 100644
--- a/main.c
+++ b/main.c
@@ -507,7 +507,7 @@ main(int argc, char *const *argv)
term.wl.shm);
if (term.wl.pointer.theme == NULL) {
LOG_ERR("failed to load cursor theme");
- return false;
+ goto out;
}
term.wl.pointer.cursor = wl_cursor_theme_get_cursor(