diff options
author | brian <brian@FreeBSD.org> | 1997-11-09 23:40:21 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-09 23:40:21 +0000 |
commit | 3672eda8ac7d070e571bdbce93edc6f089f543db (patch) | |
tree | e85f40e43294f2f7167e3b87a64d915234918b7e /usr.sbin/ppp | |
parent | 46175a24fb761bbc337f3d95b6b78d462806645f (diff) | |
download | FreeBSD-src-3672eda8ac7d070e571bdbce93edc6f089f543db.zip FreeBSD-src-3672eda8ac7d070e571bdbce93edc6f089f543db.tar.gz |
Don't Cleanup() in background mode when
we get a "close", the LcpClose() will
eventually do it when we get to PHASE_DEAD.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/command.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 9aae4c0..1c527da 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 <sys/param.h> @@ -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; } |