diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-05-10 09:41:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-10 09:41:51 +0200 |
commit | a5002bfdc2c34f8ababa67acb8e81bc91e7956c8 (patch) | |
tree | 7de31103a6107a81aaa004ca149c703cf60e36cb /lib/oxidized/model | |
parent | 98dbb2a38274dd313f9ca80d5893e7c130cad61c (diff) |
relax asyncos prompt requirements
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/asyncos.rb | 4 |
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 |