summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-04-30 20:58:32 +0200
committerGitHub <noreply@github.com>2018-04-30 20:58:32 +0200
commitfd01815eaae3506424e324ba34a4a986c9609563 (patch)
tree20d36ea26d65648ac323cd2c07b4720140b7be82 /lib/oxidized
parenta44e81e706db8ce9639868f3d97c6c97ceec9716 (diff)
parent36ad29a38187b95a5a3b451cd1a244714f434d04 (diff)
Merge pull request #1324 from wk/wk-patch-1
make opengear prompt mandatory (closes #722)
Diffstat (limited to 'lib/oxidized')
-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>')