[network-manager-openvpn] service: don't use logging macros before logging is set up
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] service: don't use logging macros before logging is set up
- Date: Tue, 24 May 2016 21:09:56 +0000 (UTC)
commit 26d70220b03bfb8c68745b7bd24906820d658f86
Author: Thomas Haller <thaller redhat com>
Date: Tue May 24 23:09:36 2016 +0200
service: don't use logging macros before logging is set up
Before the command line options are successfully parsed,
the logging macros should not be used.
src/nm-openvpn-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-openvpn-service.c b/src/nm-openvpn-service.c
index f229d90..0e6b2ca 100644
--- a/src/nm-openvpn-service.c
+++ b/src/nm-openvpn-service.c
@@ -2036,7 +2036,7 @@ main (int argc, char *argv[])
"OpenVPN capability to NetworkManager."));
if (!g_option_context_parse (opt_ctx, &argc, &argv, &error)) {
- _LOGW ("Error parsing the command line options: %s", error->message);
+ g_printerr ("Error parsing the command line options: %s\n", error->message);
g_option_context_free (opt_ctx);
g_clear_error (&error);
exit (1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]