summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-02-08 09:03:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-08 09:03:46 +0100
commit490a3c496454cea131dbd5edadbe7d7cfce4cfa8 (patch)
tree5222ffde63801a98ce90168d6be2247cc39bcfa7 /commands
parentb84f8a712ffe04def5f3d402ef9be990d485ecce (diff)
parent5316da0098c913b1e548801a57b7d5d9fd5a4d6d (diff)
downloadbarebox-490a3c496454cea131dbd5edadbe7d7cfce4cfa8.tar.gz
barebox-490a3c496454cea131dbd5edadbe7d7cfce4cfa8.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'commands')
-rw-r--r--commands/ubi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/ubi.c b/commands/ubi.c
index 5e2758400a..de5633c458 100644
--- a/commands/ubi.c
+++ b/commands/ubi.c
@@ -82,7 +82,7 @@ error:
close(fd_vol);
error_img:
close(fd_img);
- return ret;
+ return ret ? 1 : 0;
}