Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- commands/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/mount.c b/commands/mount.c index 691bc29..77efe71 100644 --- a/commands/mount.c +++ b/commands/mount.c @@ -115,7 +115,7 @@ static int do_mount(int argc, char *argv[]) if ((ret = mount(dev, type, mountpoint, fsoptions))) { perror("mount"); - return 1; + return ret; } return 0; } -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox