exec.c: Treating timeout value of 0 as INT_MAX
Signed-off-by: Oliver Lorenz <olli@olorenz.org>