commands: ubi: ubiupdatevol: Reduce error code to 0 or 1
do_ubiupdatevol can either return 0 or the ioctl return value. This is
not in conformity with the other ubi comannds return values.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b2c0c80 commit c62c063ad5418947d1499f88037149a791c71128
@Daniel Schultz Daniel Schultz authored on 29 Jan 2018
Sascha Hauer committed on 30 Jan 2018
Showing 1 changed file
View
commands/ubi.c