uuidd: make timeout to take effect when debug is not defined
The trailing comma made code to compile without issues, but meant all_done()
was called only when --debug was in defined in command-line.
Fixes: 3d6250e96b
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
0453925535
commit
f187035d73
|
@ -450,7 +450,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path,
|
|||
}
|
||||
if (ret == 0) { /* true when poll() times out */
|
||||
if (uuidd_cxt->debug)
|
||||
fprintf(stderr, _("timeout [%d sec]\n"), uuidd_cxt->timeout),
|
||||
fprintf(stderr, _("timeout [%d sec]\n"), uuidd_cxt->timeout);
|
||||
all_done(uuidd_cxt, EXIT_SUCCESS);
|
||||
}
|
||||
if (pfd[POLLFD_SIGNAL].revents != 0)
|
||||
|
|
Loading…
Reference in New Issue