summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/acos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/acos.rb')
-rw-r--r--lib/oxidized/model/acos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/acos.rb b/lib/oxidized/model/acos.rb
index a2db89c..b75ee98 100644
--- a/lib/oxidized/model/acos.rb
+++ b/lib/oxidized/model/acos.rb
@@ -60,7 +60,7 @@ class ACOS < Oxidized::Model
cmd :all do |cfg, cmdstring|
new_cfg = comment "COMMAND: #{cmdstring}\n"
- new_cfg << cfg.each_line.to_a[1..-2].join
+ new_cfg << cfg.cut_both
end
pre do