We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2997a15 commit 3fbdb7aCopy full SHA for 3fbdb7a
dnsapi/dns_fornex.sh
@@ -88,7 +88,7 @@ _get_root() {
88
89
i=1
90
while true; do
91
- h=$(printf "%s" "$domain" | cut -d . -f $i-100)
+ h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
92
_debug h "$h"
93
if [ -z "$h" ]; then
94
#not valid
dnsapi/dns_zoneedit.sh
@@ -100,7 +100,7 @@ _zoneedit_api() {
100
101
# Execute request
102
i=3 # Tries
103
- while [ $i -gt 0 ]; do
+ while [ "$i" -gt 0 ]; do
104
i=$(_math "$i" - 1)
105
106
if ! response=$(_get "$geturl"); then
0 commit comments