Drop unnecessary variables and comments

This commit is contained in:
Jason M. Wood 2013-12-04 16:21:17 -07:00
parent fedd204451
commit 3a5bf30601

View File

@ -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