Execute findsock only if it is there.

This commit is contained in:
hjp 1997-07-27 08:45:10 +00:00
parent 3a2b49f147
commit 7133c34959
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ if [ -f "$EXEC" ]
then
source $EXEC
fi
if [ -f /usr/local/bin/findsock ]
then
sock=`findsock $$`
fi
if [ -z "$sock" ]
then
vhost=`hostname`