--- autofs-4.1.4/modules/parse_sun.c.orig 2005-04-13 22:15:02.734715312 -0400 +++ autofs-4.1.4/modules/parse_sun.c 2005-04-13 22:16:08.570706720 -0400 @@ -766,7 +766,6 @@ static int check_is_multi(const char *ma { const char *p = (char *) mapent; int multi = 0; - int first_chunk = 0; while (*p) { p = skipspace(p); @@ -779,11 +778,9 @@ static int check_is_multi(const char *ma * path that begins with '/' indicates a mutil-mount * entry. */ - if (first_chunk) { - if (*p == '/' || *p == '-') { - multi = 1; - break; - } + if (*p == '/' || *p == '-') { + multi = 1; + break; } while (*p == '-') { @@ -796,7 +793,6 @@ static int check_is_multi(const char *ma * after which it's a multi mount. */ p += chunklen(p, check_colon(p)); - first_chunk++; } return multi;