aboutsummaryrefslogtreecommitdiff
path: root/src/librc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc.c')
-rw-r--r--src/librc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librc.c b/src/librc.c
index 002ab6cd..7199cd9b 100644
--- a/src/librc.c
+++ b/src/librc.c
@@ -593,9 +593,10 @@ bool rc_wait_service (const char *service)
tv.tv_sec = 0;
tv.tv_usec = WAIT_INTERVAL;
if (select (0, 0, 0, 0, &tv) < 0) {
- if (errno != EINTR)
+ if (errno != EINTR) {
eerror ("select: %s",strerror (errno));
- break;
+ break;
+ }
}
/* Don't hang around forever */