summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/asyncos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/asyncos.rb')
-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