diff options
Diffstat (limited to 'etc/rc.d/ypserv')
-rw-r--r-- | etc/rc.d/ypserv | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc.d/ypserv b/etc/rc.d/ypserv index 6c189e036bf..3a94c5f6219 100644 --- a/etc/rc.d/ypserv +++ b/etc/rc.d/ypserv @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: ypserv,v 1.2 2011/07/07 18:23:17 robert Exp $ +# $OpenBSD: ypserv,v 1.3 2011/07/08 02:15:34 robert Exp $ daemon="/usr/sbin/ypserv" @@ -9,8 +9,7 @@ daemon="/usr/sbin/ypserv" rc_reload=NO rc_pre() { - [ X"`domainname`" != X"" -a -d /var/yp/`domainname` ] || \ - return 1 + [ X"`domainname`" != X"" -a -d /var/yp/`domainname` ] } rc_cmd $1 |