fileparser: Safebox-usage fixed.

This commit is contained in:
Denis Knauf 2010-04-01 13:51:25 +02:00
parent 261d0ddc5f
commit ff2a4aa040

View file

@ -73,7 +73,7 @@ module LogAn::Inc
begin
configs = @conf[:configs] = {}
%w[hosts files].each {|key| configs[key.to_sym] = config( @etc, key) {|l| l } }
configs[:fileparser] = config( @etc, 'fileparser') {|val| Safebox.run "[#{val}]"}
configs[:fileparser] = config @etc, 'fileparser', &Safebox.method( :eval)
LogAn::Inc::SID0.config = configs
end