mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fix code indentions; Show path to eula.txt when it is not accepted yet
This commit is contained in:
2
init/msm
2
init/msm
@ -1423,7 +1423,7 @@ server_start() {
|
|||||||
|
|
||||||
if [[ -f "${SERVER_PATH[$1]}"/eula.txt ]]; then
|
if [[ -f "${SERVER_PATH[$1]}"/eula.txt ]]; then
|
||||||
if ! grep -q -i 'eula=true' "${SERVER_PATH[$1]}"/eula.txt; then
|
if ! grep -q -i 'eula=true' "${SERVER_PATH[$1]}"/eula.txt; then
|
||||||
echo " Could not start the server as you first need to agree to an EULA. See eula.txt for more info."
|
echo " Could not start the server as you first need to agree to an EULA. See eula.txt for more info (${SERVER_PATH[$1]}/eula.txt)."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user