mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 07:40:28 +01:00
cli: remove duplicate duplicate check on nmc->complete
Fixes: a3b61303f8
This commit is contained in:
parent
a7938a5b2c
commit
6f3569a58a
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue