From 96ea8e3f9f330ed008ac287875e3eb2bf27bef31 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 20 Aug 1996 04:48:28 +0000 Subject: exit 1 for failure if -detach; netbsd pr#2705; jbernard@tater.Mines.EDU --- usr.sbin/pppd/main.c | 6 +++--- 1 file 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 @@ -560,7 +560,7 @@ main(argc, argv) } if (!persist) - break; + die(1); if (demand) demand_discard(); -- cgit v1.2.3