Commit 0d3c099e authored by Eric's avatar Eric
Browse files

operateur de comparaison

parent 38cbe9cb
......@@ -29,8 +29,9 @@ do
TESTDOMAINE=`getent hosts ${domaine} | head -n1 | awk '{print $1}'`
for myip in ${MYIPS}
do
if [ "${TESTDOMAINE}" = ${myip} ]; then
if [ "${TESTDOMAINE}" = "${myip}" ]; then
echo ${domaine} >> ${FIC}.ok
break
fi
done
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment