]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal-remote/journal-remote-main.c
journal-remote: add missing log message for failure in journal_remote_get_writer()
[thirdparty/systemd.git] / src / journal-remote / journal-remote-main.c
index 956c96c5e34e73e6199d254b68cde0a7cc8781d0..2cc7428e78810c41f7f9b1ff69ce11da3378a8ec 100644 (file)
@@ -734,7 +734,7 @@ static int create_remoteserver(
                    create output as expected. */
                 r = journal_remote_get_writer(s, NULL, &s->_single_writer);
                 if (r < 0)
-                        return r;
+                        return log_warning_errno(r, "Failed to get writer: %m");
         }
 
         return 0;