Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit b171daa

Browse files
committed
Line ending check change
1 parent 18a18e1 commit b171daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ServerStart.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export MC_SERVER_INSTALL_ONLY=0
173173
#Loading setting.cfg
174174
if [ -f ./settings.cfg ]; then
175175
#Read the config file line by line
176-
while IFS='' read -r line || [[ -n "$line" ]]; do
176+
while IFS=$'\n\r' read -r line || [[ -n "$line" ]]; do
177177
#Fliters out comments and empty lines
178178
if [[ ${line:0:1} != ';' ]] && [[ $line = *[!\ ]* ]]; then
179179
var="MC_SERVER_"$(echo "$line" | cut -d '=' -f 1)

0 commit comments

Comments
 (0)