diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-04-12 19:02:53 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-04-12 19:02:53 +0400 |
commit | ee4b7d496d89c9994c79604014eb23fd087c0917 (patch) | |
tree | e1241f0d206aa60e551a22562025eb387401952f | |
parent | 19efb3dc59920b9fed6ec16566a2046e9f3251d9 (diff) |
make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabled
-rw-r--r-- | util-linux/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ } |