chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
load-fragment: make parser more forgiving
[elogind.git]
/
src
/
random-seed.c
diff --git
a/src/random-seed.c
b/src/random-seed.c
index 91aa6c6b4e6917578664cf9fe0c2f7347db5e51c..b9cafb7cd7fb568de359895bfc306e705ad2149c 100644
(file)
--- a/
src/random-seed.c
+++ b/
src/random-seed.c
@@
-39,7
+39,9
@@
int main(int argc, char *argv[]) {
return 1;
}
+ log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
log_parse_environment();
+ log_open();
/* When we load the seed we read it and write it to the device
* and then immediately update the saved seed with new data,