guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/36: doc: Fix 'setuid-program' example.


From: guix-commits
Subject: 36/36: doc: Fix 'setuid-program' example.
Date: Mon, 4 Oct 2021 07:44:06 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5fec14807f027e62e1c74f8d15ce8b97fed54e58
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Oct 3 20:10:24 2021 +0200

    doc: Fix 'setuid-program' example.
    
    The '#$' doesn't belong there, and will cause ‘unbound variable’ errors.
    
    Reported-By: ss2 (on IRC)
    
    * doc/guix.texi (Setuid Programs): Remove #$ from example.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 doc/guix.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 423b26e..2728f34 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -32965,7 +32965,7 @@ designated like this:
 
 @example
 (setuid-program
-  (program (file-append #$shadow "/bin/passwd")))
+  (program (file-append shadow "/bin/passwd")))
 @end example
 
 @deftp {Data Type} setuid-program



reply via email to

[Prev in Thread] Current Thread [Next in Thread]