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<3p=;FxvUFhz0tAXrpAY7T$>4S?C@a3$= ' + staticDir + '\' not found.');
}
- callback();
+ callback(err);
});
}
}
diff --git a/src/webserver.js b/src/webserver.js
index fec42974c6..43e3c4b324 100644
--- a/src/webserver.js
+++ b/src/webserver.js
@@ -262,11 +262,11 @@ module.exports.testSocket = function (socketPath, callback) {
var file = require('./file');
async.series([
function (next) {
- file.exists(socketPath, function (exists) {
+ file.exists(socketPath, function (err, exists) {
if (exists) {
next();
} else {
- callback();
+ callback(err);
}
});
},
|