summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/eos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/eos.rb')
-rw-r--r--lib/oxidized/model/eos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb
index f29910c..6bfef87 100644
--- a/lib/oxidized/model/eos.rb
+++ b/lib/oxidized/model/eos.rb
@@ -6,7 +6,7 @@ class EOS < Oxidized::Model
comment '! '
cmd :all do |cfg|
- cfg.each_line.to_a[1..-2].join
+ cfg.cut_both
end
cmd :secret do |cfg|