summary refs log tree commit diff
path: root/src/runsv.c
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2002-09-23 14:27:35 +0000
committerGerrit Pape <pape@smarden.org>2002-09-23 14:27:35 +0000
commitd3eb03e4e048dfb05e047e38195fd7b1e9985693 (patch)
tree5bd9d93894af8de0ad5441a85f9ae44f638e626a /src/runsv.c
parent13ae6cfd030540406e8ba21a613f4ef1a2d1c4a8 (diff)
downloadrunit-d3eb03e4e048dfb05e047e38195fd7b1e9985693.tar.gz
runit-d3eb03e4e048dfb05e047e38195fd7b1e9985693.tar.xz
runit-d3eb03e4e048dfb05e047e38195fd7b1e9985693.zip
* rsv-status: new; svstat for runsv.
  * rsv-control: new; svc for runsv.
Diffstat (limited to 'src/runsv.c')
-rw-r--r--src/runsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runsv.c b/src/runsv.c
index 04a3cc6..2026b1c 100644
--- a/src/runsv.c
+++ b/src/runsv.c
@@ -48,7 +48,6 @@ struct svdir {
   int fdlock;
   int fdcontrol;
   int fdcontrolwrite;
-  //  int fdok;
   int islog;
 };
 struct svdir svd[2];
@@ -430,6 +429,7 @@ int main(int argc, char **argv) {
 	  break;
 	}
 	svd[0].state =S_DOWN;
+	svd[0].ctrl &=~C_TERM;
 	taia_now(&svd[0].start);
 	update_status(&svd[0]);
 	if (svd[0].want == W_UP) {