forked from enlightenment/terminology
don t consider greantpt failure an error, but a warning.
This commit is contained in:
parent
6c2884bdcb
commit
e8addbac90
|
@ -305,8 +305,7 @@ termpty_new(const char *cmd, Eina_Bool login_shell, const char *cd, int w, int h
|
|||
}
|
||||
if (grantpt(ty->fd) != 0)
|
||||
{
|
||||
ERR("grantpt failed: %s", strerror(errno));
|
||||
goto err;
|
||||
WRN("grantpt failed: %s", strerror(errno));
|
||||
}
|
||||
if (unlockpt(ty->fd) != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue