summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/acsw.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/acsw.rb')
-rw-r--r--lib/oxidized/model/acsw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/acsw.rb b/lib/oxidized/model/acsw.rb
index c0857b3..f792347 100644
--- a/lib/oxidized/model/acsw.rb
+++ b/lib/oxidized/model/acsw.rb
@@ -4,7 +4,7 @@ class ACSW < Oxidized::Model
cmd :all do |cfg|
cfg.gsub! /^% Invalid input detected at '\^' marker\.$|^\s+\^$/, ''
- cfg.each_line.to_a[1..-2].join
+ cfg.cut_both
end
cmd :secret do |cfg|