shfmt fixes

This commit is contained in:
Bob Perper committed 2025-12-30 15:48:29 -05:00
1 parent 162cfebbbb
commit e031457cfa
1 file changed
+4 -1
+4 -1
View File
@@ -130,15 +130,18 @@ dns_qc_rm() {
fi
done < $tmpfile
rm $tmpfile
if [ -z "$record_id" ]; then
_info "TXT record, or $txtvalue not found, noting to remove"
_info "TXT record, or $txtvalue not found, nothing to remove"
return 0
fi
#End of jq replacement
if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then
_info "Delete txt record error."
return 1
fi
_info "TXT Record ID: $record_id successfully deleted"
return 0
}
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.