diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-07-07 18:23:18 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-07-07 18:23:18 +0000 |
commit | 587038d574154c03f0e359cdea4a2b1bf60bd5f3 (patch) | |
tree | 89b564c4ba049411316b9ceed2d0acfa4330de6c /etc/rc.d/ypbind | |
parent | 8a028c865b6917476790d9d7e9f75444d8fbf3fa (diff) |
make the check more readable
Diffstat (limited to 'etc/rc.d/ypbind')
-rw-r--r-- | etc/rc.d/ypbind | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/ypbind b/etc/rc.d/ypbind index fb72f0b4e4e..7197e895869 100644 --- a/etc/rc.d/ypbind +++ b/etc/rc.d/ypbind @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: ypbind,v 1.1 2011/07/07 01:52:58 robert Exp $ +# $OpenBSD: ypbind,v 1.2 2011/07/07 18:23:17 robert Exp $ daemon="/usr/sbin/ypbind" @@ -10,7 +10,7 @@ rc_bg=YES rc_reload=NO rc_pre() { - [ X`domainname` != X"" -a -d /var/yp/binding ] || \ + [ X"`domainname`" != X"" -a -d /var/yp/binding ] || \ return 1 } |