Don't say ``PPP enabled'' if we're given the -quiet switch

This commit is contained in:
Brian Somers 2001-04-03 08:20:20 +00:00
parent 3c19fbb3c2
commit 0fea4ed0d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75120

View File

@ -434,8 +434,10 @@ main(int argc, char **argv)
while ((ret = read(bgpipe[0], &c, 1)) == 1) {
switch (c) {
case EX_NORMAL:
prompt_Printf(prompt, "PPP enabled\n");
log_Printf(LogPHASE, "Parent: PPP enabled\n");
if (!sw.quiet) {
prompt_Printf(prompt, "PPP enabled\n");
log_Printf(LogPHASE, "Parent: PPP enabled\n");
}
break;
case EX_REDIAL:
if (!sw.quiet)