Merge branch 'master' of git://git.denx.de/u-boot-tegra
[platform/kernel/u-boot.git] / common / cmd_ubi.c
index 6c85703..cbc10c5 100644 (file)
@@ -114,7 +114,7 @@ static int ubi_check(char *name)
                        return 0;
        }
 
-       return -EEXIST;
+       return 1;
 }