From: Yu Watanabe Date: Sat, 17 Jan 2026 01:42:50 +0000 (+0900) Subject: systemctl: drop unnecessary shortcut for removed SysV compat support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3f0d88feef975e3fd914b13314aa809a0003a44;p=thirdparty%2Fsystemd.git systemctl: drop unnecessary shortcut for removed SysV compat support Follow-up for 986fee6217051ce1ffdb53de45fdf9d7bae611ce. --- diff --git a/src/systemctl/systemctl-enable.c b/src/systemctl/systemctl-enable.c index 904a3a8234d..72e222c2cb8 100644 --- a/src/systemctl/systemctl-enable.c +++ b/src/systemctl/systemctl-enable.c @@ -96,15 +96,6 @@ int verb_enable(int argc, char *argv[], void *userdata) { if (r < 0) return r; - /* If the operation was fully executed by the SysV compat, let's finish early */ - if (strv_isempty(names)) { - if (arg_no_reload || install_client_side() != INSTALL_CLIENT_SIDE_NO) - return 0; - - r = daemon_reload(ACTION_RELOAD, /* graceful= */ false); - return r > 0 ? 0 : r; - } - if (streq(verb, "disable")) r = normalize_names(names); else if (streq(verb, "link"))