1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-08 09:57:41 +03:00

networkctl: fix typo

Follow-up for 2b98926f9809eb858a5abe4f64ebd067df5059d5.
This commit is contained in:
Yu Watanabe 2023-12-10 14:25:31 +09:00
parent ba8245a77a
commit 0500f755fc

View File

@ -3081,7 +3081,7 @@ static int add_config_to_edit(
* under /etc/, we bail out since the one in /etc/ always overrides that in /run/. */
if (arg_runtime && !arg_drop_in && path_startswith(path, "/etc"))
return log_error_errno(SYNTHETIC_ERRNO(EEXIST),
"Cannot edit runtime config file: overriden by %s", path);
"Cannot edit runtime config file: overridden by %s", path);
if (path_startswith(path, "/usr") || arg_runtime != !!path_startswith(path, "/run")) {
_cleanup_free_ char *name = NULL;
@ -3107,7 +3107,7 @@ static int add_config_to_edit(
/* See the explanation above */
if (arg_runtime && path_startswith(old_dropin, "/etc"))
return log_error_errno(SYNTHETIC_ERRNO(EEXIST),
"Cannot edit runtime config file: overriden by %s", old_dropin);
"Cannot edit runtime config file: overridden by %s", old_dropin);
need_new_dropin = path_startswith(old_dropin, "/usr") || arg_runtime != !!path_startswith(old_dropin, "/run");
} else