Fix typo in udev man page
PATCH 1/1 Fix typo in udev man page
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(-)
udev.7 +1 -1
@@ -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
Signature · 12 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Quoted 4 lines · Phillip Susi
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-----
udev.xml +1 -1
@@ -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>
-------------------------------------------------------------------------
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
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel