mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-22 00:56:24 +00:00
Fixed bug causing isTrue to fail (#1727)
This commit is contained in:
@@ -63,8 +63,7 @@ function getFilenameFromUrl() {
|
||||
}
|
||||
|
||||
function isTrue() {
|
||||
local arg="${1?}"
|
||||
case ${arg,,} in
|
||||
case "${1,,}" in
|
||||
true | on | 1)
|
||||
return 0
|
||||
;;
|
||||
@@ -75,8 +74,7 @@ function isTrue() {
|
||||
}
|
||||
|
||||
function isFalse() {
|
||||
local arg="${1?}"
|
||||
case ${arg,,} in
|
||||
case "${1,,}" in
|
||||
false | off | 0)
|
||||
return 0
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user