]> www.infradead.org Git - mtd-utils.git/commit
nandwrite: return error if failure when reading from standard input
authorJehan Bing <jehan@orb.com>
Mon, 8 Jun 2009 16:32:38 +0000 (09:32 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 9 Jun 2009 15:01:29 +0000 (18:01 +0300)
commit59c537d0fd1af368eaeed5ec27e2336077c18691
tree991fabe4036f1f9997e43164ea6f803b256d7953
parente4d5eea6414093fb074b19585cb8bebadc2d3e0e
nandwrite: return error if failure when reading from standard input

Fix nandwrite to return EXIT_FAILURE in case of error when using the
standard input instead of a file for input.

Signed-off-by: Jehan Bing <jehan@orb.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
nandwrite.c