diff options
author | KodApa85 <parsons151185@gmail.com> | 2018-07-22 12:06:01 +0100 |
---|---|---|
committer | Wild Kat <wk@users.noreply.github.com> | 2018-07-22 13:06:01 +0200 |
commit | 868cb6741ad902a1cf4ecff67fc38100f948bcee (patch) | |
tree | 9833992b9608e0fdcdbd1f55b03ef12c0e9a3d4b /lib/oxidized/model/arbos.rb | |
parent | 06705411e28cf747644beb78504c5d2a27713d1c (diff) |
Removed unnecessary/illegal/unsupported escape sequence (#1352)
Diffstat (limited to 'lib/oxidized/model/arbos.rb')
-rw-r--r-- | lib/oxidized/model/arbos.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/arbos.rb b/lib/oxidized/model/arbos.rb index 51b269d..77de4c9 100644 --- a/lib/oxidized/model/arbos.rb +++ b/lib/oxidized/model/arbos.rb @@ -5,8 +5,8 @@ class ARBOS < Oxidized::Model comment '# ' cmd 'system hardware' do |cfg| - cfg.gsub! /^Boot\ time\:\s.+/, '' # Remove boot timer - cfg.gsub! /^Load\ averages\:\s.+/, '' # Remove CPU load info + cfg.gsub! /^Boot time:\s.+/, '' # Remove boot timer + cfg.gsub! /^Load averages:\s.+/, '' # Remove CPU load info cfg = cfg.each_line.to_a[2..-1].join comment cfg end |