summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-07-03 10:50:11 +0000
committerivan <ivan>2002-07-03 10:50:11 +0000
commitab33e906a196646c5351c21848b5d6f63b4400dd (patch)
tree7848c7df4b03a1a0c7c3173077604c5aa9a41742
parente9af247503b619f0c61a3ba14481bc76752bdd8b (diff)
skip comment & blank lines
-rw-r--r--FS/FS/InitHandler.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/InitHandler.pm b/FS/FS/InitHandler.pm
index 73697300e..b1b9eaf03 100644
--- a/FS/FS/InitHandler.pm
+++ b/FS/FS/InitHandler.pm
@@ -69,6 +69,7 @@ sub handler {
my %seen;
while (<MAPSECRETS>) {
+ next if /^\s*(#|$)/;
/^([\w\-\.]+)\s(.*)$/
or do { warn "strange line in mapsecrets: $_"; next; };
my($user, $datasrc) = ($1, $2);