summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote-write.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-29 00:37:25 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-15 22:23:48 -0400
commiteacbb4d33e2bb5c54311544851140efe3dd0f774 (patch)
treedefb38ea173f0ee691862d1af9000a7e74303d7f /src/journal-remote/journal-remote-write.c
parent7449bc1f34c206e3ff8e274cd74e2db950d492a1 (diff)
journal-upload: use journal as the source
Diffstat (limited to 'src/journal-remote/journal-remote-write.c')
-rw-r--r--src/journal-remote/journal-remote-write.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote-write.c b/src/journal-remote/journal-remote-write.c
index 4d142bdc9..449636cd8 100644
--- 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;