mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 06:48:16 -07:00
Drop unnecessary variables and comments
This commit is contained in:
parent
fedd204451
commit
3a5bf30601
@ -773,15 +773,11 @@ start() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
# Grab the Screen Process ID of the server.
|
if [ $(getScreenPID "$1") -eq 0 ]; then
|
||||||
PID=$(getScreenPID "$1")
|
|
||||||
if [ ! -n "$PID" ]; then
|
|
||||||
printf "Error starting the server: SCREEN failed to create a screen for the server.\n"
|
printf "Error starting the server: SCREEN failed to create a screen for the server.\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# Grab the Java Process ID of the server.
|
if [ $(getJavaPID "$1") -eq 0 ]; then
|
||||||
PID=$(getJavaPID "$1")
|
|
||||||
if [ ! -n "$PID" ]; then
|
|
||||||
printf "Error starting the server: couldn't retrieve the server's process ID.\n"
|
printf "Error starting the server: couldn't retrieve the server's process ID.\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user