mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 17:14:02 +00:00
cli: remove duplicate duplicate check on nmc->complete
Fixes: a3b61303f8
This commit is contained in:
parent
a7938a5b2c
commit
6f3569a58a
|
@ -834,8 +834,6 @@ do_networking_connectivity (NmCli *nmc, int argc, char **argv)
|
|||
} else
|
||||
nmc_switch_show (nmc, NMC_FIELDS_NM_CONNECTIVITY, _("Connectivity"));
|
||||
} else {
|
||||
if (nmc->complete)
|
||||
return nmc->return_value;
|
||||
usage_networking ();
|
||||
g_string_printf (nmc->return_text, _("Error: 'networking' command '%s' is not valid."), *argv);
|
||||
nmc->return_value = NMC_RESULT_ERROR_USER_INPUT;
|
||||
|
|
Loading…
Reference in a new issue