From: Tobias Ulmer Date: Mon, 11 Feb 2019 17:56:05 +0000 (+0100) Subject: le2lib: stop calling fflush in the fork wrapper X-Git-Tag: e2factory-2.3.18rc1~63 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=9764936cff022ccdc978daf753c5de269c59472d;p=e2factory.git le2lib: stop calling fflush in the fork wrapper Signed-off-by: Tobias Ulmer --- diff --git a/generic/le2lib.c b/generic/le2lib.c index 2b39536..3a86b42 100644 --- a/generic/le2lib.c +++ b/generic/le2lib.c @@ -45,13 +45,6 @@ lua_fork(lua_State *lua) { int rc; - rc = fflush(NULL); - if (rc == EOF) { - lua_pushboolean(lua, 0); - lua_pushstring(lua, strerror(errno)); - return 2; - } - rc = fork(); if (rc < 0) { lua_pushboolean(lua, 0);