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