From 869abe80b4bd64e802111e87712d8ec6de8a7177 Mon Sep 17 00:00:00 2001 From: stuge Date: Mon, 26 Jan 2009 02:20:56 +0000 Subject: Original v2 revision: 3908 flashrom: Document exit() codes introduced in r3907. Signed-off-by: Peter Stuge Acked-by: Ward Vandewege git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@402 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- README | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README') diff --git a/README b/README index 656468f..8410d3f 100644 --- a/README +++ b/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 -------------------------------------------- -- cgit v1.2.1