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:
Damjan Marion
2023-08-04 10:47:44 +00:00
parent 91ff0e965a
commit faeadca89e

View File

@ -269,6 +269,10 @@ main (int argc, char *argv[])
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: