]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
portable: fix command option in comment
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 May 2022 12:37:41 +0000 (21:37 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 May 2022 14:32:09 +0000 (16:32 +0200)
Follow-up for edea370222eec3d185dd84a7d9e942ec5933af63.

src/portable/portable.c

index a8536c6692bb9bf1f5aaae49bbb2d3402b4e543c..c6e74e9c27da2dd927ab9b23612073a3d299855a 100644 (file)
@@ -1562,10 +1562,10 @@ int portable_detach(
                 _cleanup_free_ char *marker = NULL, *unit_name = NULL;
                 const char *dot;
 
-                /* When a portable service is enabled with "portablectl --runtime attach", and is disabled
-                 * with "portablectl --enable detach", which calls DisableUnitFilesWithFlags DBus method,
-                 * the main unit file is removed, but its drop-ins are not. Hence, here we need to list both
-                 * main unit files and drop-in directories (without the main unit files). */
+                /* When a portable service is enabled with "portablectl --copy=symlink --enable --now attach",
+                 * and is disabled with "portablectl --enable --now detach", which calls DisableUnitFilesWithFlags
+                 * DBus method, the main unit file is removed, but its drop-ins are not. Hence, here we need
+                 * to list both main unit files and drop-in directories (without the main unit files). */
 
                 dot = endswith(de->d_name, ".d");
                 if (dot)