mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-20 12:38:51 +00:00
readahead: avoid activating the journal by accident, log directly to kmsg
This commit is contained in:
parent
1897573598
commit
e905f48fdc
@ -683,7 +683,7 @@ int main(int argc, char *argv[]) {
|
||||
int r;
|
||||
const char *root;
|
||||
|
||||
log_set_target(LOG_TARGET_AUTO);
|
||||
log_set_target(LOG_TARGET_SAFE);
|
||||
log_parse_environment();
|
||||
log_open();
|
||||
|
||||
|
||||
@ -360,7 +360,7 @@ int main(int argc, char*argv[]) {
|
||||
int r;
|
||||
const char *root;
|
||||
|
||||
log_set_target(LOG_TARGET_AUTO);
|
||||
log_set_target(LOG_TARGET_SAFE);
|
||||
log_parse_environment();
|
||||
log_open();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user