From 732a229a106d5e571ec2d30dcee87afe612452dc Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Mon, 26 Jan 2009 02:20:56 +0000 Subject: flashrom: Document exit() codes introduced in r3907. Signed-off-by: Peter Stuge Acked-by: Ward Vandewege git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3908 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/README | 6 ++++++ util/flashrom/flashrom.8 | 3 +++ 2 files changed, 9 insertions(+) (limited to 'util') diff --git a/util/flashrom/README b/util/flashrom/README index 656468f734..8410d3ff5e 100644 --- a/util/flashrom/README +++ b/util/flashrom/README @@ -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/util/flashrom/flashrom.8 b/util/flashrom/flashrom.8 index 4d072c43ab..4e60f850e7 100644 --- a/util/flashrom/flashrom.8 +++ b/util/flashrom/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 "," -- cgit v1.2.3