]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: reflect that statically enabled units can be in .upholds/
authorMike Yuan <me@yhndnzj.com>
Tue, 26 Sep 2023 13:41:29 +0000 (21:41 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 27 Sep 2023 21:14:42 +0000 (05:14 +0800)
Follow-up for 38f901791f3c4b1cbd04b71323bbef2fdab65f83

src/systemctl/systemctl-enable.c

index 940f54607ff09865f9162eaadfaf15ffd32b2a26..4f12f929d283efa45509128a796494e405bd6306 100644 (file)
@@ -254,7 +254,7 @@ int verb_enable(int argc, char *argv[], void *userdata) {
                            " \n" /* trick: the space is needed so that the line does not get stripped from output */
                            "Possible reasons for having this kind of units are:\n"
                            "%1$s A unit may be statically enabled by being symlinked from another unit's\n"
-                           "  .wants/ or .requires/ directory.\n"
+                           "  .wants/, .requires/, or .upholds/ directory.\n"
                            "%1$s A unit's purpose may be to act as a helper for some other unit which has\n"
                            "  a requirement dependency on it.\n"
                            "%1$s A unit may be started when needed via activation (socket, path, timer,\n"