Browse Source

Add Double quote to slowrateslepp

pull/2198/head
Stephane Moser 6 years ago
parent
commit
aeed287122
  1. 4
      dnsapi/dns_aws.sh

4
dnsapi/dns_aws.sh

@ -75,7 +75,7 @@ dns_aws_add() {
_info "TXT record updated successfully." _info "TXT record updated successfully."
if [ -n "$slowrateslepp" ]; then if [ -n "$slowrateslepp" ]; then
_info "Slow rate activated: sleeping for $slowrateslepp seconds" _info "Slow rate activated: sleeping for $slowrateslepp seconds"
sleep $slowrateslepp
sleep "$slowrateslepp"
fi fi
return 0 return 0
fi fi
@ -124,7 +124,7 @@ dns_aws_rm() {
_info "TXT record deleted successfully." _info "TXT record deleted successfully."
if [ -n "$slowrateslepp" ]; then if [ -n "$slowrateslepp" ]; then
_info "Slow rate activated: sleeping for $slowrateslepp seconds" _info "Slow rate activated: sleeping for $slowrateslepp seconds"
sleep $slowrateslepp
sleep "$slowrateslepp"
fi fi
return 0 return 0
fi fi

Loading…
Cancel
Save