diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-20 04:48:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-20 04:48:28 +0000 |
commit | 96ea8e3f9f330ed008ac287875e3eb2bf27bef31 (patch) | |
tree | 2a1a0ecedec6e09e1388cf4c208f84cd3ddae301 /usr.sbin/pppd | |
parent | 5e46d7af1a68e8cc868e7c1dc4b2c8bfd7b6908c (diff) |
exit 1 for failure if -detach; netbsd pr#2705; jbernard@tater.Mines.EDU
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r-- | usr.sbin/pppd/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c index db5f4c89f9e..5ff49361733 100644 --- a/usr.sbin/pppd/main.c +++ b/usr.sbin/pppd/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.10 1996/07/27 12:38:06 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.11 1996/08/20 04:48:27 deraadt Exp $ */ /* * main.c - Point-to-Point Protocol main module @@ -20,7 +20,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: main.c,v 1.10 1996/07/27 12:38:06 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.11 1996/08/20 04:48:27 deraadt Exp $"; #endif #include <stdio.h> @@ -560,7 +560,7 @@ main(argc, argv) } if (!persist) - break; + die(1); if (demand) demand_discard(); |