linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix typo in udev man page
@ 2007-03-05 21:06 Phillip Susi
  2007-03-05 23:44 ` Bryan Kadzban
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2007-03-05 21:06 UTC (permalink / raw)
  To: linux-hotplug

The udev man page said that a PROGRAM rule is true if the program
returned _without_ an exit code of 0.  This is backwards.  The
program returns _with_ exit code 0 to indicate success, and thus
the rule is true.
---
 udev.7 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/udev.7 b/udev.7
index 7dd3c1f..13f3356 100644
--- a/udev.7
+++ b/udev.7
@@ -153,7 +153,7 @@ keys can be specified per rule. Dependin
 .PP
 \fBPROGRAM\fR
 .RS 4
-Execute external program. The key is true, if the program returns without exit code zero. The whole event environment is available to the executed program. The program's output printed to stdout is available for the RESULT key.
+Execute external program. The key is true, if the program returns with exit code zero. The whole event environment is available to the executed program. The program's output printed to stdout is available for the RESULT key.
 .RE
 .PP
 \fBRESULT\fR
-- 
1.4.1


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix typo in udev man page
  2007-03-05 21:06 [PATCH] Fix typo in udev man page Phillip Susi
@ 2007-03-05 23:44 ` Bryan Kadzban
  0 siblings, 0 replies; 2+ messages in thread
From: Bryan Kadzban @ 2007-03-05 23:44 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Phillip Susi wrote:
> The udev man page said that a PROGRAM rule is true if the program
> returned _without_ an exit code of 0.  This is backwards.  The
> program returns _with_ exit code 0 to indicate success, and thus
> the rule is true.

And here's a version of the patch that fixes the XML file that the
manpage is generated from.  (But not the manpage itself.)  ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7KtwS5vET1Wea5wRA5IdAJoDsEc8eSrscT3E606w+ihuC6so4gCfeD6T
Bb4avkxFn4NpzkkBWTFZDw8=
=mcOl
-----END PGP SIGNATURE-----

[-- Attachment #2: udev-106-fix-udev-manpage-xml.patch --]
[-- Type: text/plain, Size: 700 bytes --]

diff -Naur udev-106/udev.xml udev-106-patched/udev.xml
--- udev-106/udev.xml	2007-03-03 12:42:09.000000000 -0500
+++ udev-106-patched/udev.xml	2007-03-05 18:42:15.000000000 -0500
@@ -228,7 +228,7 @@
               <term><option>PROGRAM</option></term>
               <listitem>
                 <para>Execute external program. The key is true, if the program returns
-                without exit code zero. The whole event environment is available to the
+                with exit code zero. The whole event environment is available to the
                 executed program. The program's output printed to stdout is available for
                 the RESULT key.</para>
               </listitem>

[-- Attachment #3: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 226 bytes --]

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-05 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 21:06 [PATCH] Fix typo in udev man page Phillip Susi
2007-03-05 23:44 ` Bryan Kadzban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).