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
commitf20bfe77e927f99019b8b58feaeb7a635371e03c (patch)
tree2169ceef0254520eae4685672603dfecee0048ef /flashrom.8
parent91b24576f5cfdae6effd587bfa717f5770c2be84 (diff)
downloadflashrom-f20bfe77e927f99019b8b58feaeb7a635371e03c.zip
flashrom-f20bfe77e927f99019b8b58feaeb7a635371e03c.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