look futher back in the logfile.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21841 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-08-08 06:52:28 +00:00
parent 0b5323d6b6
commit a2a444ced2

View File

@@ -46,10 +46,10 @@ while true ; do
t=`expr ${t} + 2`
sleep 2
echo "Have waited $t seconds"
if tail -3 ${log} | grep "${name} started" > /dev/null; then
if tail -30 ${log} | grep "${name} started" > /dev/null; then
break
fi
if tail -3 ${log} | grep "No sockets" ; then
if tail -30 ${log} | grep "No sockets" ; then
echo "The ${name} failed to bind to any sockets, another ${name} running ?"
exit 1
fi