From bdbc7471d705fc507935ec6fd95fe0ec2a850634 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 9 Nov 1997 23:40:21 +0000 Subject: [PATCH] Don't Cleanup() in background mode when we get a "close", the LcpClose() will eventually do it when we get to PHASE_DEAD. --- usr.sbin/ppp/command.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 9aae4c06fa2..1c527da24a1 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.c,v 1.95 1997/11/09 22:07:27 brian Exp $ + * $Id: command.c,v 1.96 1997/11/09 22:56:15 brian Exp $ * */ #include @@ -780,8 +780,6 @@ CloseCommand(struct cmdtab const * list, int argc, char **argv) { reconnect(RECON_FALSE); LcpClose(); - if (mode & MODE_BACKGROUND) - Cleanup(EX_NORMAL); return 0; }