Fix mismatched braces in S_fd_on_nosuid_fs().
Marcus Holland-Moritz [Sun, 23 Oct 2005 10:16:45 +0000 (10:16 +0000)]
p4raw-id: //depot/perl@25825

perl.c

diff --git a/perl.c b/perl.c
index 1a4b889..e335432 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -3704,10 +3704,9 @@ S_fd_on_nosuid_fs(pTHX_ int fd)
                     cmplen = sizeof(fsd.fd_req.path);
                 if (strnEQ(fsd.fd_req.path, us.f_fname, cmplen) &&
                     fdst.st_dev == fsd.fd_req.dev) {
-                        check_okay = 1;
-                        on_nosuid = fsd.fd_req.flags & PERL_MOUNT_NOSUID;
-                        on_noexec = fsd.fd_req.flags & PERL_MOUNT_NOEXEC;
-                    }
+                    check_okay = 1;
+                    on_nosuid = fsd.fd_req.flags & PERL_MOUNT_NOSUID;
+                    on_noexec = fsd.fd_req.flags & PERL_MOUNT_NOEXEC;
                 }
             }
         }