Fix default domain
This commit is contained in:
parent
7c5047acfc
commit
3c8ea5896a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user