[BusyBox] The mount rewrite is in.

Stephane Billiart stephane.billiart at gmail.com
Sun Aug 14 17:11:15 UTC 2005


[reposting this to the list since my first mail bounced because I used
the wrong account...]

On 10/08/05 ? ? 15:37, Rob Landley wrote:
> In the absence of any major complaints...
> 
> The mount rewrite is in.
> 
> Now to go download a fresh tarball to see what I broke...
> 
> Rob

the attached patch fixes the exit status of mount

-- 
Stéphane Billiart                      http://perso.wanadoo.fr/billiart/
-------------- next part --------------
--- util-linux/mount.c.orig	2005-08-14 18:35:31.000000000 +0200
+++ util-linux/mount.c	2005-08-14 18:35:57.000000000 +0200
@@ -396,5 +396,5 @@
 	if(file) endmntent(file);
 	if(rc) bb_perror_msg("Mounting %s on %s failed", blockDevice, directory);
 
-	return rc ? : EXIT_FAILURE;
+	return rc ? EXIT_FAILURE : EXIT_SUCCESS;
 }


More information about the busybox mailing list