]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Update nss-myhostname.xml to reflect files
authorAndreFerreiraMsc <mestreandreferreira@proton.me>
Tue, 28 Jan 2025 13:11:58 +0000 (14:11 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 28 Jan 2025 19:28:10 +0000 (04:28 +0900)
man/nss-myhostname.xml

index 200c9220b9909a576ace73ab95350de691bb4185..653d8e49d4dc0876af396c1eb81d1d91eb199ac7 100644 (file)
@@ -74,7 +74,7 @@
     <para>To activate the NSS modules, add <literal>myhostname</literal> to the line starting with
     <literal>hosts:</literal> in <filename>/etc/nsswitch.conf</filename>.</para>
 
-    <para>It is recommended to place <literal>myhostname</literal> after <literal>file</literal> and before <literal>dns</literal>.
+    <para>It is recommended to place <literal>myhostname</literal> after <literal>files</literal> and before <literal>dns</literal>.
     This resolves well-known hostnames like <literal>localhost</literal>
     and the machine hostnames locally. It is consistent with the behaviour
     of <command>nss-resolve</command>, and still allows overriding via