autofs-5.1.0 - fix showmount search in auto.net

From: Ian Kent <ikent@redhat.com>

The loop used to locate the showmount binary in, the example
probram map, auto.net doesn't find the first occurrence it
finds the last.

That may have been needed some time in the past but doesn't
seem relevant any more.
---
 CHANGELOG        |    1 +
 samples/auto.net |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG
index 407a1c8..ec7e1ca 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -48,6 +48,7 @@
 - handle duplicates in multi mounts.
 - revert special case cifs escapes.
 - fix map option parsing for 'strictatime'.
+- fix showmount search in auto.net.
 
 04/06/2014 autofs-5.1.0
 =======================
diff --git a/samples/auto.net b/samples/auto.net
index 86b8505..4cb71f6 100755
--- a/samples/auto.net
+++ b/samples/auto.net
@@ -25,7 +25,7 @@ do
 		if [ -x $P/$M ]
 		then
 			SMNT=$P/$M
-			break
+			break 2
 		fi
 	done
 done