X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fsystemctl.c;h=35ca082ab480bfa3f20ead086ce789e1be55aa08;hb=5b6319dceedd81f3f1ce7eb70ea5defaef43bcec;hp=4afe53e18d4d09ba0035070d373b26de2eec844d;hpb=b08a35509c1e09ac3ec2de37a259ff0fbbe69928;p=elogind.git diff --git a/src/systemctl.c b/src/systemctl.c index 4afe53e18..35ca082ab 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -1322,7 +1322,7 @@ static int help(void) { " show-environment Dump environment\n" " set-environment [NAME=VALUE...] Set one or more environment variables\n" " unset-environment [NAME...] Unset one or more environment variables\n", - __progname); + program_invocation_short_name); return 0; } @@ -1437,6 +1437,7 @@ int main(int argc, char*argv[]) { dbus_error_init(&error); log_set_target(LOG_TARGET_CONSOLE); + log_set_max_level(LOG_INFO); log_parse_environment(); if ((r = parse_argv(argc, argv)) < 0)