From a8ffc4d243c61d6757c07dd24e93c68d42147bdd Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Mon, 18 Jan 2016 13:03:21 -0500 Subject: do not include executed command name in output --- lib/oxidized/model/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb index ca851e3..9185d43 100644 --- a/lib/oxidized/model/model.rb +++ b/lib/oxidized/model/model.rb @@ -79,7 +79,7 @@ module Oxidized attr_accessor :input, :node def cmd string, &block - out = "====================== #{string} ======================\n" + @input.cmd(string) + out = @input.cmd(string) return false unless out self.class.cmds[:all].each do |all_block| out = instance_exec Oxidized::String.new(out), string, &all_block -- cgit v1.2.1