]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: avoid potential shell expansion in systemctl's example
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 18 Dec 2023 16:09:06 +0000 (17:09 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 18 Dec 2023 16:09:06 +0000 (17:09 +0100)
Resolves: #30014

man/systemctl.xml

index 21447e8ed9afed8dde4fc3809c26ffcc220ef844..4651e89510453c8221853d9007be0b3ec074dbd9 100644 (file)
@@ -1855,7 +1855,7 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
       for more details. The patterns are matched against the primary names of
       units currently in memory, and patterns which do not match anything
       are silently skipped. For example:
-      <programlisting># systemctl stop sshd@*.service</programlisting>
+      <programlisting># systemctl stop "sshd@*.service"</programlisting>
       will stop all <filename>sshd@.service</filename> instances. Note that alias names of units, and units that aren't
       in memory are not considered for glob expansion.
       </para>