elm: print error if setsid() fails during quicklaunch fork

This commit is contained in:
Mike Blumenkrantz 2018-02-07 12:03:00 -05:00
parent d55fc77cfa
commit c4e5bbe441
1 changed files with 1 additions and 1 deletions

View File

@ -1183,7 +1183,7 @@ elm_quicklaunch_fork(int argc,
#endif
}
setsid();
if (setsid() < 0) perror("could not setsid");
if (chdir(cwd) != 0) perror("could not chdir");
if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF)
_elm_atspi_bridge_init();