projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't loop on waitpid returning 0
[trust_router.git]
/
tid
/
tids.c
diff --git
a/tid/tids.c
b/tid/tids.c
index
07d48e7
..
811fb4b
100644
(file)
--- a/
tid/tids.c
+++ b/
tid/tids.c
@@
-390,7
+390,7
@@
int tids_start (TIDS_INSTANCE *tids,
}
/* clean up any processes that have completed */
}
/* clean up any processes that have completed */
- while (waitpid(-1, 0, WNOHANG) >
=
0);
+ while (waitpid(-1, 0, WNOHANG) > 0);
}
return 1; /* should never get here, loops "forever" */
}
return 1; /* should never get here, loops "forever" */