fixing typo

This commit is contained in:
toby 2018-11-01 21:12:23 +01:00
parent c25c9f4e03
commit 6c16ceb2c9
1 changed files with 2 additions and 2 deletions

View File

@ -38,13 +38,13 @@ case "$1" in
echo ${TMPDIG}
}
dig_a {
dig_a() {
TMPDIG=$(dig a +short $1)
[ -z ${TMPDIG} ] && exit 2
echo ${TMPDIG}
}
dig_aaaa {
dig_aaaa() {
TMPDIG=$(dig aaaa +short $1)
[ -z ${TMPDIG} ] && exit 2
echo ${TMPDIG}