summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Overgaard Hansen <moh@multihouse.dk>2018-04-07 21:34:18 +0200
committerMartin Overgaard Hansen <moh@multihouse.dk>2018-04-07 21:34:18 +0200
commitf3c489be3d747af4608234fb55d93d8d3e037470 (patch)
treee56dbc5688adc898a0e16b88e6f846a7cee8abb8
parent1fb037d4d6f4361ecd3c495a76d008c79b9ee712 (diff)
Allowed prompt to contain hyphen
-rw-r--r--lib/oxidized/model/aricentiss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/aricentiss.rb b/lib/oxidized/model/aricentiss.rb
index 8821801..14f8502 100644
--- a/lib/oxidized/model/aricentiss.rb
+++ b/lib/oxidized/model/aricentiss.rb
@@ -5,7 +5,7 @@
class AricentISS < Oxidized::Model
- prompt (/^(\e\[27m)?[ \r]*\w+# ?$/)
+ prompt (/^(\e\[27m)?[ \r]*[\w-]+# ?$/)
cfg :ssh do
# "pagination" was misspelled in some (earlier) versions (at least 1.0.16-9)