[40978] trunk/doc-new/guide/xml/portfile-tcl.xml

blb at macports.org blb at macports.org
Sun Oct 19 19:39:48 PDT 2008


Revision: 40978
          http://trac.macports.org/changeset/40978
Author:   blb at macports.org
Date:     2008-10-19 19:39:47 -0700 (Sun, 19 Oct 2008)
Log Message:
-----------
doc/guide - expand description for the existsuser command (ticket #16900)

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfile-tcl.xml

Modified: trunk/doc-new/guide/xml/portfile-tcl.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-tcl.xml	2008-10-20 02:03:34 UTC (rev 40977)
+++ trunk/doc-new/guide/xml/portfile-tcl.xml	2008-10-20 02:39:47 UTC (rev 40978)
@@ -284,7 +284,10 @@
             <term>existsuser <replaceable>username</replaceable></term>
 
             <listitem>
-              <para>Check if a local user exists.</para>
+              <para>Check if a local user exists.  Returns the uid for
+              the given user, or 0 if the user wasn't found.  Note that 0
+              is a valid uid (root) so don't use this for the root user,
+              which should always exist anyway.</para>
             </listitem>
           </varlistentry>
         </variablelist>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081019/6dadfc32/attachment-0001.html 


More information about the macports-changes mailing list