journal-remote: small fixes

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-03-23 12:36:05 -04:00
parent 36ef43edcf
commit 5c879495ea

View file

@ -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" printf("%s [OPTIONS...] {FILE|-}...\n\n"
"Write external journal events to a journal file.\n\n" "Write external journal events to a journal file.\n\n"
"Options:\n" "Options:\n"
@ -980,8 +980,6 @@ static int help(void) {
"\n" "\n"
"Note: file descriptors from sd_listen_fds() will be consumed, too.\n" "Note: file descriptors from sd_listen_fds() will be consumed, too.\n"
, program_invocation_short_name); , program_invocation_short_name);
return 0;
} }
static int parse_argv(int argc, char *argv[]) { static int parse_argv(int argc, char *argv[]) {
@ -1239,7 +1237,6 @@ int main(int argc, char **argv) {
RemoteServer s = {}; RemoteServer s = {};
int r, r2; int r, r2;
log_set_max_level(LOG_DEBUG);
log_show_color(true); log_show_color(true);
log_parse_environment(); log_parse_environment();