diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-03-25 20:06:08 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-03-25 20:06:08 +0000 |
| commit | 2da5df67a7ec03c6723141559c1a71497e6e860b (patch) | |
| tree | 70066571b4f7f2b835d03457d3057d308df3bb0b /usr.sbin/pppctl | |
| parent | 7b98a1d68032aa94903f8e6008f1b5a64ead3f8c (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pppctl')
| -rw-r--r-- | usr.sbin/pppctl/pppctl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c index 3f14a6b1ec12..753b32e94020 100644 --- a/usr.sbin/pppctl/pppctl.c +++ b/usr.sbin/pppctl/pppctl.c @@ -623,6 +623,11 @@ main(int argc, char **argv) start = ++next; } while (next && *next); if (verbose) + write(1, "quit\n", 5); + write(fd, "quit\n", 5); + while (Receive(fd, verbose | REC_SHOW) == 0) + ; + if (verbose) puts(""); } break; |
