projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fccd48f
)
cli: improve the error reporting a bit
author
Lubomir Rintel
<lkundrak@v3.sk>
Mon, 7 Dec 2015 09:51:49 +0000
(10:51 +0100)
committer
Lubomir Rintel
<lkundrak@v3.sk>
Mon, 7 Dec 2015 09:51:49 +0000
(10:51 +0100)
clients/cli/connections.c
patch
|
blob
|
history
diff --git
a/clients/cli/connections.c
b/clients/cli/connections.c
index
870b61f
..
1cdfadf
100644
(file)
--- a/
clients/cli/connections.c
+++ b/
clients/cli/connections.c
@@
-10204,7
+10204,8
@@
do_connection_export (NmCli *nmc, int argc, char **argv)
/* Export VPN configuration */
plugin = nm_vpn_get_plugin_by_service (type, &error);
if (!plugin) {
- g_string_printf (nmc->return_text, _("Error: failed to load VPN plugin."));
+ g_string_printf (nmc->return_text, _("Error: failed to load VPN plugin: %s."),
+ error->message);
nmc->return_value = NMC_RESULT_ERROR_UNKNOWN;
goto finish;
}