summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-09-03 12:10:24 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-09-03 12:10:24 -0400
commit57e9a8515c057b504d14225d5d62a42195aa5398 (patch)
tree4d883f0557eaccfe6150a3a061b445df46684ebc
parenta2ff25b2a5c1e52ff58ed7d0ed7e7d453cc7313e (diff)
nshd-tester: add a comment
-rw-r--r--bin/nshd-tester.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/nshd-tester.c b/bin/nshd-tester.c
index 358b968..b868165 100644
--- a/bin/nshd-tester.c
+++ b/bin/nshd-tester.c
@@ -148,6 +148,8 @@ int main(int argc, char *argv[]) {
error(EXIT_FAILURE, errno, "exec");
}
+ /* Loop forever; the happy-path to termination is that our
+ * sigchld_handler() calls exit(0). */
while (1) {
union addr client_addr;
socklen_t client_size;