Be specific about which domainname is not set. It seems the man page
reference is not enough.
This commit is contained in:
parent
9efd29f394
commit
1790807ec0
@ -40,7 +40,7 @@ ypbind_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ yppasswdd_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ ypserv_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -31,7 +31,7 @@ ypset_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ rpc_ypupdated_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ ypxfrd_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user