From: deraadt Date: Thu, 24 Apr 1997 18:30:44 +0000 (+0000) Subject: extra " in -s initialization X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=253cd24536be057021e7505ff23d3ece3e452302;p=openbsd extra " in -s initialization --- 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