mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-08 13:17:13 +00:00
Fixed bug causing isTrue to fail (#1727)
This commit is contained in:
1 parent
fabe14db49
commit
a1e4657e62
2 files changed
+11
-10
No files matched your search
+2
-4
@@ -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