summaryrefslogtreecommitdiffstats
path: root/src/slave
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-10-10 13:11:46 -0400
committerGreg Hudson <ghudson@mit.edu>2012-10-10 13:14:15 -0400
commitfd243aa274c6ba315280703aac9bd653f76197c4 (patch)
treec23139c84010b91355b94830ce770d6e54b0acc4 /src/slave
parent3fe2761dbe83583c217a2e4663fadfe4eb3d3bfc (diff)
downloadkrb5-fd243aa274c6ba315280703aac9bd653f76197c4.tar.gz
krb5-fd243aa274c6ba315280703aac9bd653f76197c4.tar.xz
krb5-fd243aa274c6ba315280703aac9bd653f76197c4.zip
Fix slow kprop dejagnu test
Fix kpropd -S -t to actually exit after processing one connection (it was breaking out of the switch statement, not the while loop). Use the -t when invoking kpropd from the dejagnu test framework; previously it was unnecessary because kpropd -S -d exited after one connection. Clear up some confusion in the kprop.exp comments about whether kpropd is expected to exit.
Diffstat (limited to 'src/slave')
-rw-r--r--src/slave/kpropd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c
index 83af0f82b0..afa02f4387 100644
--- a/src/slave/kpropd.c
+++ b/src/slave/kpropd.c
@@ -432,7 +432,7 @@ do_standalone()
close(s);
if (runonce)
- break;
+ exit(0);
}
}
exit(0);