autofs-5.1.8 - fix multi-mount check

When checking if a mount location is a multi-mount after the first location
the next '-' or '/' indicates it's a multi-mount.

But the '-' can be part of a mount location and can follow a space leading
to incorrectly deciding the location is a multi-mount.

Signed-off-by: Ian Kent <raven@themaw.net>
2 files changed