# If the $pid variable contains anything (from the previous for loop) it
# means the daemon is already running.
if [ ! -n "${pid}" ]; then
# If the $pid variable contains anything (from the previous for loop) it
# means the daemon is already running.
if [ ! -n "${pid}" ]; then