aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libbugzilla.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js
index 18cd2b5..e30efef 100644
--- a/lib/libbugzilla.js
+++ b/lib/libbugzilla.js
@@ -340,6 +340,10 @@ function loginToAllBugzillas(callback) {
// Increment call counter
loginCallsCounter++;
});
+ if (loginCallsCounter == 0) {
+ debug("No credentials!");
+ callback(config);
+ }
},
onError: function onError() {
console.error("No credentials were found for " + bugzillaHost + "!");