aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 32d0dd5b9..b3e945ce3 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -439,8 +439,8 @@ extern int mount_main(int argc, char **argv)
if (all && ( /* If we're mounting 'all' */
(strstr(m->mnt_opts, "noauto")) || /* and the file system isn't noauto, */
- (strstr(m->mnt_type, "swap")) || /* and isn't swap or nfs, then mount it */
- (strstr(m->mnt_type, "nfs")))) {
+ (strstr(m->mnt_type, "swap")))) /* and isn't swap, then mount it */
+ {
continue;
}