summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/control_rancid.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/control_rancid.in b/bin/control_rancid.in
index d339d66..8cd7cc4 100644
--- a/bin/control_rancid.in
+++ b/bin/control_rancid.in
@@ -402,7 +402,7 @@ for router in `cut -d: -f1 ../routers.up` ; do
done
echo
# delete configs from RCS for routers not listed in routers.up.
-for router in `find . \( -name \*.new -prune -o -name CVS -prune -o -name .svn -prune -o -name .git -prune \) -o -type f -print | sed -e 's/^.\///'` ; do
+for router in `find . \( -name \*.new -prune -o -name CVS -prune -o -name .cvsignore -prune -o -name .svn -prune -o -name .git -prune -o -name .gitignore -prune \) -o -type f -print | sed -e 's/^.\///'` ; do
grep -i "^$router:" ../router.db > /dev/null 2>&1
if [ $? -eq 1 ]; then
rm -f $router