Try again

This commit is contained in:
Aarup committed 2017-12-08 08:31:24 +01:00
1 parent 1f635b90e7
commit 3f1e6c128f
1 file changed
+2 -2
+2 -2
View File
@@ -67,7 +67,7 @@ dns_unoeuro_add() {
else
_info "Updating record"
record_line_number=$(echo "$response" | grep -n "$_sub_domain" | cut -d : -f 1)
record_line_number=$(($record_line_number - 1))
record_line_number=$((record_line_number - 1))
record_id=$(echo "$response" | _head_n "$record_line_number" | _tail_n 1 1 | _egrep_o "[0-9]{1,}")
_debug "record_id" "$record_id"
@@ -123,7 +123,7 @@ dns_unoeuro_rm() {
_info "Don't need to remove."
else
record_line_number=$(echo "$response" | grep -n "$_sub_domain" | cut -d : -f 1)
record_line_number=$(($record_line_number - 1))
record_line_number=$((record_line_number - 1))
record_id=$(echo "$response" | _head_n "$record_line_number" | _tail_n 1 1 | _egrep_o "[0-9]{1,}")
_debug "record_id" "$record_id"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.