summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/catos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/catos.rb')
-rw-r--r--lib/oxidized/model/catos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/catos.rb b/lib/oxidized/model/catos.rb
index e97a0b6..8f6d3ce 100644
--- a/lib/oxidized/model/catos.rb
+++ b/lib/oxidized/model/catos.rb
@@ -3,7 +3,7 @@ class Catos < Oxidized::Model
comment '# '
cmd :all do |cfg|
- cfg.each_line.to_a[1..-2].join
+ cfg.cut_both
end
cmd 'show system' do |cfg|