summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-23 12:36:05 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-15 22:23:47 -0400
commit5c879495eab608bf9b6e7bec1020d916a0503b6e (patch)
treebfa18bfc0531acd20fa881e9c8911b12c0427f1a
parent36ef43edcf1c9640b3fda017b381c4b1854641f4 (diff)
journal-remote: small fixes
-rw-r--r--src/journal-remote/journal-remote.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 9db4692a28..de327cc3fd 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -958,7 +958,7 @@ static int dispatch_raw_connection_event(sd_event_source *event,
**********************************************************************
**********************************************************************/
-static int help(void) {
+static void help(void) {
printf("%s [OPTIONS...] {FILE|-}...\n\n"
"Write external journal events to a journal file.\n\n"
"Options:\n"
@@ -980,8 +980,6 @@ static int help(void) {
"\n"
"Note: file descriptors from sd_listen_fds() will be consumed, too.\n"
, program_invocation_short_name);
-
- return 0;
}
static int parse_argv(int argc, char *argv[]) {
@@ -1239,7 +1237,6 @@ int main(int argc, char **argv) {
RemoteServer s = {};
int r, r2;
- log_set_max_level(LOG_DEBUG);
log_show_color(true);
log_parse_environment();