summaryrefslogtreecommitdiffstats
path: root/flashrom.8
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-26 02:20:56 +0000
committerPeter Stuge <peter@stuge.se>2009-01-26 02:20:56 +0000
commit42688e5cc978e822ecc3262df8043f7b1efda55f (patch)
tree2169ceef0254520eae4685672603dfecee0048ef /flashrom.8
parent43438ba7d17139cc4143fd3840be8d4b39f0ea01 (diff)
downloadast2050-flashrom-42688e5cc978e822ecc3262df8043f7b1efda55f.zip
ast2050-flashrom-42688e5cc978e822ecc3262df8043f7b1efda55f.tar.gz
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>
Diffstat (limited to 'flashrom.8')
-rw-r--r--flashrom.83
1 files changed, 3 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index 4d072c4..4e60f85 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 ","
OpenPOWER on IntegriCloud