[lfs] branch trunk updated: aboutlfs: Fix umask expect output

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <173781456669.6687.14350241754294249291@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new ff4a32ec0 aboutlfs: Fix umask expect output
ff4a32ec0 is described below

commit ff4a32ec01eafa53ef4d1f628787afc1b18563ba
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Jan 25 22:12:05 2025 +0800

    aboutlfs: Fix umask expect output
    
    On a latest LFS system the output is 0022.  It seems depending on host
    shell version.
---
 chapter02/aboutlfs.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml
index a04b1c422..4eba82366 100644
--- a/chapter02/aboutlfs.xml
+++ b/chapter02/aboutlfs.xml
@@ -61,7 +61,9 @@
 
   <screen role="nodump"><userinput>umask</userinput></screen>
 
-  <para>The output should be <computeroutput>022</computeroutput>.</para>
+  <para>The output may be <computeroutput>0022</computeroutput> or
+  <computeroutput>022</computeroutput> (the number of leading zeros depends
+  on the host distro).</para>
 
   <para>If any output of these two commands is incorrect, use the command
   given earlier on this page to set <envar>$LFS</envar> to the correct

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.