mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Don't say ``PPP enabled'' if we're given the -quiet switch
This commit is contained in:
parent
3c19fbb3c2
commit
0fea4ed0d0
1 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue