Browse files

fix stupid bug

  • Loading branch information...
1 parent 070d3a1 commit b1e6be557d70aae32ef7bded5fb3f0b747e6fd25 @kesla committed Jun 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -12,7 +12,7 @@ function findFreeServernum(servernum, callback) {
});
}
-module.exports = function (startnum, callback) {
+module.exports = function headless(startnum, callback) {
if (!callback) {
callback = startnum;
startnum = 99;
@@ -31,7 +31,7 @@ module.exports = function (startnum, callback) {
childProcess.on('exit', function() {
clearTimeout(timeout);
servernum++;
- headless.startXvfb(servernum, callback);
+ headless(servernum, callback);
});
});
}

0 comments on commit b1e6be5

Please sign in to comment.