Add Double quote to slowrateslepp

This commit is contained in:
Stephane Moser 2019-04-02 10:27:22 +01:00
parent ea6a3c0963
commit aeed287122

View File

@ -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