Fix default domain

This commit is contained in:
Roy Marples 2009-10-25 00:03:20 +01:00
parent 7c5047acfc
commit 3c8ea5896a

View File

@ -174,7 +174,7 @@ start()
{
local cr=0 r= int= intv= cmd= args= upcmd=
if [ -z "$domainname" && -s /etc/defaultdomain ]; then
if [ -z "$domainname" -a -s /etc/defaultdomain ]; then
domainname=$(cat /etc/defaultdomain)
fi
if [ -n "$domainname" ]; then