don t consider greantpt failure an error, but a warning.

This commit is contained in:
Carsten Haitzler 2013-08-30 14:17:42 +09:00
parent 6c2884bdcb
commit e8addbac90
1 changed files with 1 additions and 2 deletions

View File

@ -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)
{