X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=common%2Fcmd_ubi.c;h=cbc10c549474690f9adcb08c4c95d1ba479ed323;hb=6f92ed8f1abfe94ee1c96c83c21f4092bb04ff63;hp=6c8570377e31d4726424eea67b4e53e417a08469;hpb=6af857c50df4e62ec08e51ad73c96f63f1480386;p=u-boot diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c index 6c8570377e..cbc10c5494 100644 --- a/common/cmd_ubi.c +++ b/common/cmd_ubi.c @@ -114,7 +114,7 @@ static int ubi_check(char *name) return 0; } - return -EEXIST; + return 1; }