diff options
Diffstat (limited to 'ubi-utils')
| -rw-r--r-- | ubi-utils/ubiupdatevol.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/ubi-utils/ubiupdatevol.c b/ubi-utils/ubiupdatevol.c index bdcc091..1b3239e 100644 --- a/ubi-utils/ubiupdatevol.c +++ b/ubi-utils/ubiupdatevol.c @@ -308,9 +308,7 @@ int main(int argc, char * const argv[])  	if (!libubi) {  		if (errno == 0)  			errmsg("UBI is not present in the system"); -		else -			sys_errmsg("cannot open libubi"); -		goto out_libubi; +		return sys_errmsg("cannot open libubi");  	}  	err = ubi_probe_node(libubi, args.node); | 
