summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/tmos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb
index fff7534..8ec04d3 100644
--- a/lib/oxidized/model/tmos.rb
+++ b/lib/oxidized/model/tmos.rb
@@ -42,7 +42,7 @@ class TMOS < Oxidized::Model
comment cfg
end
- cmd('cat /config/zebos/*/ZebOS.conf') { |cfg| comment cfg }
+ cmd('[ -d "/config/zebos" ] && cat /config/zebos/*/ZebOS.conf') { |cfg| comment cfg }
cmd('cat /config/partitions/*/bigip.conf') { |cfg| comment cfg }