Disable KernLog in container
No need to save seqno when we've detected being in container and have disabled kernel logging. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
40622ef6c7
commit
e4330515e8
@ -501,6 +501,7 @@ int main(int argc, char *argv[])
|
||||
*/
|
||||
if (KernLog) {
|
||||
if (in_container()) {
|
||||
KernLog = 0;
|
||||
no_sys = 1;
|
||||
goto no_klogd;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user