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
fi
sleep 1
# Grab the Screen Process ID of the server.
PID=$(getScreenPID "$1")
if [ ! -n "$PID" ]; then
if [ $(getScreenPID "$1") -eq 0 ]; then
printf "Error starting the server: SCREEN failed to create a screen for the server.\n"
exit 1
fi
# Grab the Java Process ID of the server.
PID=$(getJavaPID "$1")
if [ ! -n "$PID" ]; then
if [ $(getJavaPID "$1") -eq 0 ]; then
printf "Error starting the server: couldn't retrieve the server's process ID.\n"
exit 1
fi