summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3f14a6b..753b32e 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;
OpenPOWER on IntegriCloud