vpp: detect early nosyslog and interactive flags
So error logs are displayed on console earlier.... Type: improvement Change-Id: If31b76c9d06254b0fec5b5b3f4e92a881b4cf786 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
@ -269,6 +269,10 @@ main (int argc, char *argv[])
|
|||||||
main_core = x;
|
main_core = x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (!strncmp (argv[i], "interactive", 11))
|
||||||
|
unix_main.flags |= UNIX_FLAG_INTERACTIVE;
|
||||||
|
else if (!strncmp (argv[i], "nosyslog", 8))
|
||||||
|
unix_main.flags |= UNIX_FLAG_NOSYSLOG;
|
||||||
}
|
}
|
||||||
defaulted:
|
defaulted:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user