Merge pull request #227 from infosiftr/verify-depth
Fix "verify" and "depth" which are _not_ boolean values
This commit is contained in:
commit
5da2fdf203
|
|
@ -244,8 +244,11 @@ rabbit_env_config() {
|
|||
local val="${!var:-}"
|
||||
local rawVal="$val"
|
||||
case "$conf" in
|
||||
verify|fail_if_no_peer_cert|depth|hipe_compile)
|
||||
[ -n "$val" ] && rawVal='true' || rawVal='false'
|
||||
fail_if_no_peer_cert|hipe_compile)
|
||||
case "${val,,}" in
|
||||
false|no|0|'') rawVal='false' ;;
|
||||
true|yes|1|*) rawVal='true' ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
vm_memory_high_watermark) continue ;; # handled separately
|
||||
|
|
|
|||
|
|
@ -244,8 +244,11 @@ rabbit_env_config() {
|
|||
local val="${!var:-}"
|
||||
local rawVal="$val"
|
||||
case "$conf" in
|
||||
verify|fail_if_no_peer_cert|depth|hipe_compile)
|
||||
[ -n "$val" ] && rawVal='true' || rawVal='false'
|
||||
fail_if_no_peer_cert|hipe_compile)
|
||||
case "${val,,}" in
|
||||
false|no|0|'') rawVal='false' ;;
|
||||
true|yes|1|*) rawVal='true' ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
vm_memory_high_watermark) continue ;; # handled separately
|
||||
|
|
|
|||
|
|
@ -244,8 +244,11 @@ rabbit_env_config() {
|
|||
local val="${!var:-}"
|
||||
local rawVal="$val"
|
||||
case "$conf" in
|
||||
verify|fail_if_no_peer_cert|depth|hipe_compile)
|
||||
[ -n "$val" ] && rawVal='true' || rawVal='false'
|
||||
fail_if_no_peer_cert|hipe_compile)
|
||||
case "${val,,}" in
|
||||
false|no|0|'') rawVal='false' ;;
|
||||
true|yes|1|*) rawVal='true' ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
vm_memory_high_watermark) continue ;; # handled separately
|
||||
|
|
|
|||
Loading…
Reference in New Issue