summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/runtest b/bin/runtest
index 61f1bed..034dbc0 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -700,7 +700,7 @@ sleep 10
#################################
if [ "$TESTHOST" = -all ]; then
if [ -f $ALLHOSTSFILE ]; then
- TESTHOST=`sed -e s/#.*// $ALLHOSTSFILE`
+ TESTHOST=`sed -e '/^#/d;/^ *$/d' $ALLHOSTSFILE`
else
PRINT "could not access the all-hosts-file ($ALLHOSTSFILE)"
USAGE