From 1e2a739ede68f904c84ea693362fdd4445c4fc16 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 1 Sep 2009 13:24:17 +0000 Subject: Imported from rancid-2.3.2a10.tar.gz. --- bin/control_rancid.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/control_rancid.in') diff --git a/bin/control_rancid.in b/bin/control_rancid.in index 2e39068..d1fe450 100644 --- a/bin/control_rancid.in +++ b/bin/control_rancid.in @@ -433,7 +433,7 @@ do then rm -f $router.new else - lines=`awk '{if (/^([-*!;#]|\/\*)/) { next; } lines++; \ + lines=`awk '{if ($0 ~ /^([-*!;#]|\/\*)/) { next; } lines++; \ if (lines > 10) { print "1"; exit;}} \ END { if (lines < 10) {print "0";}}' $router.new` -- cgit