diff --git a/ipv64-dns-challenge.sh b/ipv64-dns-challenge.sh index efc10eb..b4ad589 100755 --- a/ipv64-dns-challenge.sh +++ b/ipv64-dns-challenge.sh @@ -21,7 +21,7 @@ if [ ! -r "$configfile" ]; then exit 1 fi -apitoken=$(grep ^"apitoken = " "$configfile" | sed -e "s/apitoken = //") +apitoken=$(grep ^"apitoken=" "$configfile" | sed -e "s/apitoken=//") if [ -z "$apitoken" ]; then echo "apitoken is not defined in $configfile"