summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawlx <awlnx@penguinfriends.org>2016-02-25 11:42:21 +0100
committerawlx <awlnx@penguinfriends.org>2016-02-25 11:42:21 +0100
commit8c40c1d6b6af5a5f72d4cd3d1aae7ae54052fa98 (patch)
tree29ec6af71aea8262bc90e6bab5faffac12317f4e
parentf2a7e15657d1a211f20e6a58d0a0f6dbe0857523 (diff)
Fixed the fortios prompt to support a read-only user
-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 92add0e..aad3a6e 100644
--- a/lib/oxidized/model/fortios.rb
+++ b/lib/oxidized/model/fortios.rb
@@ -2,7 +2,7 @@ class FortiOS < Oxidized::Model
comment '# '
- prompt /^([-\w\.]+(\s[\(\w\-\.\)]+)?\~?\s?[#>]\s?)$/
+ prompt /^([-\w\.]+(\s[\(\w\-\.\)]+)?\~?\s?[#>$]\s?)$/
expect /^--More--\s$/ do |data, re|
send ' '