head => _head_n

This commit is contained in:
Habetdin authored and GitHub committed 2018-03-28 18:14:45 +03:00
1 parent fde971fe81
commit b14ef537e1
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ dns_zilore_rm() {
_err "Error while getting records list"
return 1
else
_record_id=$(printf "%s\n" "$response" | _egrep_o "\"record_id\":\"[^\"]+\"" | cut -d : -f 2 | tr -d \" | head -n 1)
_record_id=$(printf "%s\n" "$response" | _egrep_o "\"record_id\":\"[^\"]+\"" | cut -d : -f 2 | tr -d \" | _head_n 1)
if [ -z "$_record_id" ]; then
_err "Cannot determine _record_id"
return 1
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.