From: Eric Andersen Date: Mon, 12 Apr 2004 15:02:53 +0000 (-0000) Subject: make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabled X-Git-Tag: 1_00_pre10~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ee4b7d496d89c9994c79604014eb23fd087c0917;p=oweals%2Fbusybox.git make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabled --- diff --git a/util-linux/mount.c b/util-linux/mount.c index 098e63663..3a241540e 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -402,11 +402,11 @@ extern int mount_main(int argc, char **argv) case 'f': fakeIt = TRUE; break; -#ifdef CONFIG_FEATURE_MTAB_SUPPORT case 'n': +#ifdef CONFIG_FEATURE_MTAB_SUPPORT useMtab = FALSE; - break; #endif + break; case 'v': break; /* ignore -v */ }