summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-04-24 18:30:44 +0000
committerderaadt <deraadt@openbsd.org>1997-04-24 18:30:44 +0000
commit253cd24536be057021e7505ff23d3ece3e452302 (patch)
treec4b59c59b1c52da0e1f1fb5f74462153d1196ecf
parentwrong mode, oops (diff)
downloadwireguard-openbsd-253cd24536be057021e7505ff23d3ece3e452302.tar.xz
wireguard-openbsd-253cd24536be057021e7505ff23d3ece3e452302.zip
extra " in -s initialization
-rw-r--r--usr.sbin/ypserv/ypinit/ypinit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/ypinit/ypinit.sh b/usr.sbin/ypserv/ypinit/ypinit.sh
index 742ac6bfe22..7afa5428d30 100644
--- a/usr.sbin/ypserv/ypinit/ypinit.sh
+++ b/usr.sbin/ypserv/ypinit/ypinit.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: ypinit.sh,v 1.4 1997/04/20 10:00:27 maja Exp $
+# $Id: ypinit.sh,v 1.5 1997/04/24 18:30:44 deraadt Exp $
#
# ypinit.sh - setup an master or slave server.
#
@@ -107,7 +107,7 @@ fi
# Check if we have contact with master.
if [ "${SERVERTYPE}" = "SLAVE" ];
then
- COUNT=`${YPWHICH} -d ${DOMAIN} -m 2>/dev/null | grep -i "${MASTER} | wc -l | tr -d " "`
+ COUNT=`${YPWHICH} -d ${DOMAIN} -m 2>/dev/null | grep -i ${MASTER} | wc -l | tr -d " "`
if [ "$COUNT" = "0" ]
then
echo "Can't enumerate maps from ${MASTER}. Please check that it is running." 1>&2