piped output from curl check to null

This commit is contained in:
Asif Bacchus 2018-09-14 00:06:02 -06:00
parent 24ade5322f
commit 90e50bf74b

View File

@ -205,7 +205,7 @@ elif [ -z ${dnsRecords} ]; then
fi
# Check if curl is installed
command -v curl
command -v curl >> /dev/null
curlResult=$(echo "$?")
if [ $curlResult -ne 0 ]; then
quit 2