billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=51555f9c353a194b248ed6ee2a36ceee8adb9954
commit 51555f9c353a194b248ed6ee2a36ceee8adb9954 Author: Boris Faure <bill...@gmail.com> Date: Sun Sep 14 22:46:22 2014 +0200 fork can fail --- src/bin/termpty.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index f25e523..e41d1e0 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -362,6 +362,11 @@ termpty_new(const char *cmd, Eina_Bool login_shell, const char *cd, goto err; } ty->pid = fork(); + if (ty->pid < 0) + { + ERR("unable to fork: %s", strerror(errno)); + goto err; + } if (!ty->pid) { const char *shell = NULL; --