piped output from curl check to null
This commit is contained in:
parent
24ade5322f
commit
90e50bf74b
@ -205,7 +205,7 @@ elif [ -z ${dnsRecords} ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if curl is installed
|
# Check if curl is installed
|
||||||
command -v curl
|
command -v curl >> /dev/null
|
||||||
curlResult=$(echo "$?")
|
curlResult=$(echo "$?")
|
||||||
if [ $curlResult -ne 0 ]; then
|
if [ $curlResult -ne 0 ]; then
|
||||||
quit 2
|
quit 2
|
||||||
|
Loading…
Reference in New Issue
Block a user