chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal-upload: use journal as the source
[elogind.git]
/
src
/
journal-remote
/
journal-remote-write.c
diff --git
a/src/journal-remote/journal-remote-write.c
b/src/journal-remote/journal-remote-write.c
index 4d142bdc97bbb7003047a48531e362836246dfdf..449636cd8c3180b389776151e69b179bcad4db5a 100644
(file)
--- a/
src/journal-remote/journal-remote-write.c
+++ b/
src/journal-remote/journal-remote-write.c
@@
-81,8
+81,10
@@
int writer_init(Writer *s) {
}
int writer_close(Writer *s) {
- if (s->journal)
+ if (s->journal)
{
journal_file_close(s->journal);
+ log_debug("Journal has been closed.");
+ }
if (s->mmap)
mmap_cache_unref(s->mmap);
return 0;