Skip to content
Snippets Groups Projects
Commit d44c46ce authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

do not use sys at timeout

parent c1738f23
No related branches found
No related tags found
No related merge requests found
...@@ -478,7 +478,7 @@ int doit (int spfd, genalloc *gakeep, tain *deadline) ...@@ -478,7 +478,7 @@ int doit (int spfd, genalloc *gakeep, tain *deadline)
{ {
int r = iopause_g(&x,1,deadline) ; int r = iopause_g(&x,1,deadline) ;
if (r < 0) log_dieusys(LOG_EXIT_SYS,"iopause") ; if (r < 0) log_dieusys(LOG_EXIT_SYS,"iopause") ;
if (!r) log_diesys(LOG_EXIT_SYS,"time out") ; if (!r) log_die(LOG_EXIT_SYS,"time out") ;
if (!handle_signal_pipe(gakeep)) exitcode = 0 ; if (!handle_signal_pipe(gakeep)) exitcode = 0 ;
} }
return exitcode ; return exitcode ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment