diff options
Diffstat (limited to 'lib/oxidized/model/netonix.rb')
-rw-r--r-- | lib/oxidized/model/netonix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/netonix.rb b/lib/oxidized/model/netonix.rb index 4624f83..f3ebe73 100644 --- a/lib/oxidized/model/netonix.rb +++ b/lib/oxidized/model/netonix.rb @@ -2,7 +2,7 @@ class Netonix < Oxidized::Model prompt /^[\w\s.@_\/:-]+#/ cmd :all do |cfg| - cfg.each_line.to_a[1..-2].join + cfg.cut_both end cmd 'cat config.json;echo' |