Skip to content

Commit

Permalink
Merge pull request #2 from node-migrator-bot/clean
Browse files Browse the repository at this point in the history
Hi! I fixed some code for you!
  • Loading branch information
kesla committed Jul 11, 2013
2 parents 84d685b + 317c35e commit 42e8919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ try {
}

function findFreeServernum(servernum, callback) {
path.exists('/tmp/.X' + servernum + '-lock', function(exists) {
fs.exists('/tmp/.X' + servernum + '-lock', function(exists) {
if(exists) {
servernum++;
findFreeServernum(servernum, callback);
Expand Down

0 comments on commit 42e8919

Please sign in to comment.