aboutsummarylogtreecommitdiffstats
path: root/minecraftd.sh
diff options
context:
space:
mode:
authorGordian Edenhofer2016-08-09 11:56:49 +0200
committerGordian Edenhofer2016-08-09 11:56:49 +0200
commit6d5dd87fc222126e62fef79e70621fbbe2b22c3b (patch)
tree263b7c8b5ddb65055902ddbf63acd152a45da96b /minecraftd.sh
parent82a539adb82bd23eedc04766d617ce62a7433825 (diff)
downloadaur-6d5dd87fc222126e62fef79e70621fbbe2b22c3b.tar.gz
upgpkg: minecraft-server 1.10.2-3
Treat IDLE_SERVER varible case insensitive when comparing to "true". upgpkg: cuberite 1.9.4-5 upgpkg: spigot 1.10.2-1
Diffstat (limited to 'minecraftd.sh')
-rwxr-xr-xminecraftd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/minecraftd.sh b/minecraftd.sh
index 440da2c2f906..a9cdeb5c555a 100755
--- a/minecraftd.sh
+++ b/minecraftd.sh
@@ -167,7 +167,7 @@ server_start() {
echo -e "\e[39;1m done\e[0m"
fi
- if [[ "${IDLE_SERVER}" == "true" ]]; then
+ if [[ "${IDLE_SERVER,,}" == "true" ]]; then
# Check for the availability of the netcat (nc) binaries
if [[ -z "${NETCAT_CMD}" ]]; then
>&2 echo "The netcat binaries are needed for suspending an idle server."
@@ -196,7 +196,7 @@ server_start() {
# Stop the server gracefully by saving everything prior and warning the users
server_stop() {
# Quit the idle daemon
- if [[ "${IDLE_SERVER}" == "true" ]]; then
+ if [[ "${IDLE_SERVER,,}" == "true" ]]; then
# Check for the availability of the netcat (nc) binaries
if [[ -z "${NETCAT_CMD}" ]]; then
>&2 echo "The netcat binaries are needed for suspending an idle server."
@@ -252,7 +252,7 @@ server_stop() {
# Print whether the server is running and if so give some information about memory usage and threads
server_status() {
# Print status information about the idle daemon
- if [[ "${IDLE_SERVER}" == "true" ]]; then
+ if [[ "${IDLE_SERVER,,}" == "true" ]]; then
# Check for the availability of the netcat (nc) binaries
if [[ -z "${NETCAT_CMD}" ]]; then
>&2 echo "The netcat binaries are needed for suspending an idle server."