Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting,
authorEric Andersen <andersen@codepoet.org>
Tue, 19 Sep 2000 01:21:13 +0000 (01:21 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 19 Sep 2000 01:21:13 +0000 (01:21 -0000)
which had been inadvertantly broken...
 -Erik

mount.c
util-linux/mount.c

diff --git a/mount.c b/mount.c
index 15ab5c997ca2ffe091c4973fc9c192c7b2c5d8d4..455c333039c3acd6e1f33b55e7ca40eef28fe66b 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -485,7 +485,7 @@ singlemount:
                                        fatalError("nfsmount failed: %s\n", strerror(errno));   
                                        rc = FALSE;
                                }
-                       } else
+                       }
 #endif
                        rc = mount_one(device, directory, filesystemType, flags,
                                string_flags, useMtab, fakeIt, extra_opts, TRUE);
index 15ab5c997ca2ffe091c4973fc9c192c7b2c5d8d4..455c333039c3acd6e1f33b55e7ca40eef28fe66b 100644 (file)
@@ -485,7 +485,7 @@ singlemount:
                                        fatalError("nfsmount failed: %s\n", strerror(errno));   
                                        rc = FALSE;
                                }
-                       } else
+                       }
 #endif
                        rc = mount_one(device, directory, filesystemType, flags,
                                string_flags, useMtab, fakeIt, extra_opts, TRUE);