summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-04-30 20:31:33 +0200
committerGitHub <noreply@github.com>2018-04-30 20:31:33 +0200
commit36ad29a38187b95a5a3b451cd1a244714f434d04 (patch)
tree20d36ea26d65648ac323cd2c07b4720140b7be82 /lib/oxidized/model
parenta44e81e706db8ce9639868f3d97c6c97ceec9716 (diff)
make opengear prompt mandatory
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/opengear.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/opengear.rb b/lib/oxidized/model/opengear.rb
index e0d4c0a..1f94edb 100644
--- a/lib/oxidized/model/opengear.rb
+++ b/lib/oxidized/model/opengear.rb
@@ -1,7 +1,7 @@
class OpenGear < Oxidized::Model
comment '# '
- prompt /^(\$\s)?$/
+ prompt /^(\$\s)$/
cmd :secret do |cfg|
cfg.gsub!(/password (\S+)/, 'password <secret removed>')