summaryrefslogtreecommitdiff
path: root/usr.sbin/pppctl
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-03-25 20:06:08 +0000
committerBrian Somers <brian@FreeBSD.org>2001-03-25 20:06:08 +0000
commit2da5df67a7ec03c6723141559c1a71497e6e860b (patch)
tree70066571b4f7f2b835d03457d3057d308df3bb0b /usr.sbin/pppctl
parent7b98a1d68032aa94903f8e6008f1b5a64ead3f8c (diff)
Notes
Diffstat (limited to 'usr.sbin/pppctl')
-rw-r--r--usr.sbin/pppctl/pppctl.c5
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;