mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2025-04-10 01:51:16 +02:00
Update: FIX colorize_boolean()
This commit is contained in:
parent
b5f7d65dea
commit
0718117c0b
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ colorize_boolean() {
|
|||
elif [ "$value" = "false" ]; then
|
||||
echo "${COLOR_RED}false${CoR}"
|
||||
else
|
||||
# Si la valeur n'est ni true ni false, la convertir en booléen
|
||||
# If value is neither true nor false, convert to boolean
|
||||
if [ "$value" = "1" ] || [ "$value" = "yes" ] || [ "$value" = "on" ]; then
|
||||
echo "${COLOR_GREEN}true${CoR}"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue