diff options
Diffstat (limited to 'lib/oxidized/model/gcombnps.rb')
-rw-r--r-- | lib/oxidized/model/gcombnps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/gcombnps.rb b/lib/oxidized/model/gcombnps.rb index e92c7ba..0aa4a11 100644 --- a/lib/oxidized/model/gcombnps.rb +++ b/lib/oxidized/model/gcombnps.rb @@ -22,7 +22,7 @@ class GcomBNPS < Oxidized::Model cmd :all do |cfg| cfg = cfg.gsub " \e[73D\e[K", '' # remove garbage remaining from the pager - cfg.each_line.to_a[1..-2].join + cfg.cut_both end cmd :secret do |cfg| |