From c3d0d35f8c1fd12a5bd077f3de5062b6709aa16c Mon Sep 17 00:00:00 2001 From: Randy Sommerfeld <cyan@synchro.net> Date: Mon, 3 Jan 2022 07:37:12 +0700 Subject: [PATCH] Actually call back on a timeout --- exec/load/dns.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exec/load/dns.js b/exec/load/dns.js index 4d07df90ec..c31a71a4e5 100644 --- a/exec/load/dns.js +++ b/exec/load/dns.js @@ -683,8 +683,10 @@ DNS.prototype.resolveProcess = function(host, callback, dnstype, thisObj) break; }; } - if (rectype === undefined) + if (rectype === undefined) { + this.callback.call(this.thisObj, null); return; + } if (this[rectype].addrs === undefined) this[rectype].addrs = []; -- GitLab