Re: [PATCH 1/2] commands/mount: Return real error code if "mount" fail

2014-04-26 Thread Sascha Hauer
On Sat, Apr 26, 2014 at 02:40:09PM +0400, Alexander Shiyan wrote: > Signed-off-by: Alexander Shiyan Applied, thanks Sascha > --- > commands/mount.c | 9 ++--- > 1 file changed, 2 insertions(+), 7 deletions(-) > > diff --git a/commands/mount.c b/commands/mount.c > index 691bc29..8629bac 10

[PATCH 1/2] commands/mount: Return real error code if "mount" fail

2014-04-26 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- commands/mount.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/commands/mount.c b/commands/mount.c index 691bc29..8629bac 100644 --- a/commands/mount.c +++ b/commands/mount.c @@ -31,8 +31,7 @@ static int do_mount(int argc, char