make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabled
authorEric Andersen <andersen@codepoet.org>
Mon, 12 Apr 2004 15:02:53 +0000 (15:02 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 12 Apr 2004 15:02:53 +0000 (15:02 -0000)
util-linux/mount.c

index 098e636636f9f7ee4375d7ed99e4b58771f28825..3a241540e66d123a404bc7d0320b996bf5e355da 100644 (file)
@@ -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 */
                }