summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/fortios.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb
index fa8fd33..cdb50d5 100644
--- a/lib/oxidized/model/fortios.rb
+++ b/lib/oxidized/model/fortios.rb
@@ -34,7 +34,7 @@ class FortiOS < Oxidized::Model
end
cfg << cmd('diagnose autoupdate version') do |cfg|
- comment cfg
+ comment cfg.each_line.reject { |line| line.match /Last Update|Result/ }.join
end
cfg << cmd('end') if @vdom_enabled