summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-07 12:03:00 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-07 12:12:22 -0500
commitc4e5bbe441648f94fd7202cd3a26f545de6f78cd (patch)
tree58855cf01b89f25f1a593cebb91c489a4bd84519
parentd55fc77cfa212a0af49d5c33e76b796dcaa62646 (diff)
elm: print error if setsid() fails during quicklaunch fork
-rw-r--r--src/lib/elementary/elm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index f6ede1b73a..41e75412c2 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -1183,7 +1183,7 @@ elm_quicklaunch_fork(int argc,
1183#endif 1183#endif
1184 } 1184 }
1185 1185
1186 setsid(); 1186 if (setsid() < 0) perror("could not setsid");
1187 if (chdir(cwd) != 0) perror("could not chdir"); 1187 if (chdir(cwd) != 0) perror("could not chdir");
1188 if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF) 1188 if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF)
1189 _elm_atspi_bridge_init(); 1189 _elm_atspi_bridge_init();