]> err.no Git - systemd/commitdiff
readahead: avoid activating the journal by accident, log directly to kmsg
authorLennart Poettering <lennart@poettering.net>
Wed, 23 May 2012 01:50:53 +0000 (03:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 May 2012 01:50:53 +0000 (03:50 +0200)
src/readahead/readahead-collect.c
src/readahead/readahead-replay.c

index 359b97bf040cccdfcd3d4066bcfb68ae20edf823..1d56b11065b851b4c90e27cb459d8b64eaa3a6d7 100644 (file)
@@ -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();
 
index 886e16f296ded4c7dc95289b19f9b9331dfbd925..344dcd4041a04da626b40696d327eeae8f7dfff2 100644 (file)
@@ -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();