about summary refs log tree commit homepage
path: root/bin/mog
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mog')
-rwxr-xr-xbin/mog5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/mog b/bin/mog
index 4121459..6ca3ca5 100755
--- a/bin/mog
+++ b/bin/mog
@@ -14,8 +14,7 @@ if md5_trailer_nodes = ENV["MD5_TRAILER_NODES"]
 end
 
 # this is to be compatible with config files used by the Perl tools
-def parse_config_file!(path, overwrite = false)
-  dest = {}
+def parse_config_file!(path, dest = {})
   File.open(path).each_line do |line|
     case line
     when /^(domain|class)\s*=\s*(\S+)/
@@ -79,7 +78,7 @@ ARGV.options do |x|
 end
 
 # parse the config file specified at the command-line
-file_cfg = config_file ? parse_config_file!(config_file, true) : {}
+file_cfg = config_file ? parse_config_file!(config_file) : {}
 
 # read environment variables, too.  This Ruby API favors the term
 # "hosts", however upstream MogileFS teminology favors "trackers" instead.