diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 02:20:56 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 02:20:56 +0000 |
commit | 42688e5cc978e822ecc3262df8043f7b1efda55f (patch) | |
tree | 2169ceef0254520eae4685672603dfecee0048ef | |
parent | 43438ba7d17139cc4143fd3840be8d4b39f0ea01 (diff) | |
download | flashrom-42688e5cc978e822ecc3262df8043f7b1efda55f.tar.gz flashrom-42688e5cc978e822ecc3262df8043f7b1efda55f.tar.bz2 flashrom-42688e5cc978e822ecc3262df8043f7b1efda55f.zip |
Document exit() codes introduced in r3907
Corresponding to flashrom svn r402 and coreboot v2 svn r3908.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | flashrom.8 | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -44,6 +44,12 @@ Usage is that flash info is dumped and the flash chip is set to writable. +Exit status +----------- +flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem +(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails. + + coreboot Table and Mainboard Identification -------------------------------------------- diff --git a/flashrom.8 b/flashrom.8 index 4d072c43a..4e60f850e 100644 --- a/flashrom.8 +++ b/flashrom.8 @@ -77,6 +77,9 @@ Show a help text and exit. .TP .B "\-R, \-\-version" Show version information and exit. +.SH EXIT STATUS +flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem +(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails. .SH BUGS Please report any bugs at .BR http://tracker.coreboot.org/trac/coreboot/newticket "," |