mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 23:50:30 +01:00
nmcli: remove the extra full stop from error messages
$ nmcli dev modify Error: No interface specified.. $ nmcli dev modify bla Error: Device 'bla' not found..
This commit is contained in:
parent
f9821a1669
commit
887cdcc217
1 changed files with 2 additions and 2 deletions
|
|
@ -624,7 +624,7 @@ get_device (NmCli *nmc, int *argc, char ***argv, GError **error)
|
|||
|
||||
if (!ifname_ask) {
|
||||
g_set_error_literal (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT,
|
||||
_("No interface specified."));
|
||||
_("No interface specified"));
|
||||
return NULL;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -643,7 +643,7 @@ get_device (NmCli *nmc, int *argc, char ***argv, GError **error)
|
|||
|
||||
if (devices[i] == NULL) {
|
||||
g_set_error (error, NMCLI_ERROR, NMC_RESULT_ERROR_NOT_FOUND,
|
||||
_("Device '%s' not found."), ifname);
|
||||
_("Device '%s' not found"), ifname);
|
||||
}
|
||||
|
||||
return devices[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue