diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-31 21:37:41 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-31 16:32:09 +0200 |
commit | a0f0cf0a6b345b296ba3cc71a3f9d246408cd2d4 (patch) | |
tree | 3f928bf7516348b388debe24152ac5157c0051df /src/portable | |
parent | a52765a5504108fb1d89f3d79b639b0a20efbd5e (diff) | |
download | systemd-a0f0cf0a6b345b296ba3cc71a3f9d246408cd2d4.tar.gz |
portable: fix command option in comment
Follow-up for edea370222eec3d185dd84a7d9e942ec5933af63.
Diffstat (limited to 'src/portable')
-rw-r--r-- | src/portable/portable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c index a8536c6692..c6e74e9c27 100644 --- a/src/portable/portable.c +++ b/src/portable/portable.c @@ -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) |