CVS User Account cvsuser
Tue Dec 6 17:40:28 PST 2005
Log Message:
-----------
Bug #1471 - petere - slon documentation

"The reference page of slon in the slony 1.1.2 documentation claims "It
returns -1 if it encounters any fatal error." However, the possible exit
codes only range from 0 to 127, so I don't quite believe that."

Changed the documentation to indicate that it exits using "exit(-1)" which
will likely provide a return code of 127.

Modified Files:
--------------
    slony1-engine/doc/adminguide:
        slon.sgml (r1.21 -> r1.22)

-------------- next part --------------
Index: slon.sgml
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/doc/adminguide/slon.sgml,v
retrieving revision 1.21
retrieving revision 1.22
diff -Ldoc/adminguide/slon.sgml -Ldoc/adminguide/slon.sgml -u -w -r1.21 -r1.22
--- doc/adminguide/slon.sgml
+++ doc/adminguide/slon.sgml
@@ -351,7 +351,9 @@
   <title>Exit Status</title>
   <para>
    <application>slon</application> returns 0 to the shell if it
-   finished normally.  It returns -1 if it encounters any fatal error.
+   finished normally.  It returns via <function>exit(-1)</function>
+   (which will likely provide a return value of either 127 or 255,
+   depending on your system) if it encounters any fatal error.
   </para>
  </refsect1>
 </refentry>


More information about the Slony1-commit mailing list