summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-05-10 09:41:51 +0200
committerGitHub <noreply@github.com>2018-05-10 09:41:51 +0200
commita5002bfdc2c34f8ababa67acb8e81bc91e7956c8 (patch)
tree7de31103a6107a81aaa004ca149c703cf60e36cb /lib/oxidized/model
parent98dbb2a38274dd313f9ca80d5893e7c130cad61c (diff)
relax asyncos prompt requirements
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/asyncos.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/asyncos.rb b/lib/oxidized/model/asyncos.rb
index 2857ef8..9e4d10e 100644
--- a/lib/oxidized/model/asyncos.rb
+++ b/lib/oxidized/model/asyncos.rb
@@ -1,6 +1,6 @@
class AsyncOS < Oxidized::Model
- # ESA prompt "(mail.example.com)> "
- prompt /^\r*([(][\w. ]+[)][#>]\s+)$/
+ # ESA prompt "(mail.example.com)> " or "mail.example.com> "
+ prompt /^\r*([(]?[\w. ]+[)]?[#>]\s+)$/
comment '! '
# Select passphrase display option