diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/model.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb index 45de4d7..899b40a 100644 --- a/lib/oxidized/model/model.rb +++ b/lib/oxidized/model/model.rb @@ -133,10 +133,10 @@ module Oxidized outputs << out end procs[:pre].each do |pre_proc| - outputs.unshift process_cmd_output(instance_eval(&pre_proc), nil) + outputs.unshift process_cmd_output(instance_eval(&pre_proc), '') end procs[:post].each do |post_proc| - outputs << process_cmd_output(instance_eval(&post_proc), nil) + outputs << process_cmd_output(instance_eval(&post_proc), '') end outputs end |