id="1"
fi
-echo_n " starting server ${id} ..."
+echo_n "starting server ${id} ..."
# remove old logfiles, if this is the first server (ID 1)
[ "$id" = "1" ] && rm -rf logs *.log
# generate MOTD for test-server
echo "This is an ngIRCd Test Server" > ngircd-test${id}.motd
+# glibc memory checking, see malloc(3)
+MALLOC_CHECK_=3
+export MALLOC_CHECK_
+
# starting up test-server ...
./T-ngircd${id} -n -f ${srcdir}/ngircd-test${id}.conf $* \
>ngircd-test${id}.log 2>&1 &