summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-02-25 12:51:43 +0200
committerytti <saku@ytti.fi>2016-02-25 12:51:43 +0200
commit604fe69d24a42881244b37a9368a745f3335989b (patch)
tree29ec6af71aea8262bc90e6bab5faffac12317f4e /lib
parentf2a7e15657d1a211f20e6a58d0a0f6dbe0857523 (diff)
parent8c40c1d6b6af5a5f72d4cd3d1aae7ae54052fa98 (diff)
Merge pull request #341 from awlx/fortios_configdump_with_readonlyuser
Fixed the fortios prompt to support a read-only user
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 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 ' '