allow testers.txt to contain comments

This commit is contained in:
Enno Rehling 2017-02-26 13:08:50 +01:00
parent 2137c51509
commit 114d088bb5
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ case "$1" in
done
if [ $sent -eq 0 ]; then
if [ -e ../$factions ]; then
for faction in $(cat ../$factions) ; do
for faction in $(grep -v -E '^#' ../$factions) ; do
send $faction
done
fi