summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ed0132)
raw | patch | inline | side by side (parent: 1ed0132)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 7 Nov 2006 19:52:29 +0000 (20:52 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 7 Nov 2006 19:52:29 +0000 (20:52 +0100) |
src/collectd.c | patch | blob | history |
diff --git a/src/collectd.c b/src/collectd.c
index ef2ccc75eca2bee5da721b5d2e2ba80132bda9f8..64da57650a2627774e3cf3e78913b0f20810c6ee 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
continue;
}
- while (nanosleep (&ts_wait, &ts_wait) == -1)
+ while ((loop == 0) && (nanosleep (&ts_wait, &ts_wait) == -1))
{
if (errno != EINTR)
{