Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / lib / sh / makepath.c
index 43dbab2..ef01718 100644 (file)
@@ -94,7 +94,7 @@ sh_makepath (path, dir, flags)
        MAKEDOT();
     }
   else if ((flags & MP_IGNDOT) && path[0] == '.' && (path[1] == '\0' ||
-                                                    path[1] == '/' && path[2] == '\0'))
+                                                    (path[1] == '/' && path[2] == '\0')))
     {
       xpath = nullpath;
       pathlen = 0;