Skip to content
Browse files

Fix issue that only allowed 1 machine to be created

  • Loading branch information...
1 parent 6493573 commit fa33b14798285c7d233f02bc46810776ff9afbed @jfd committed Feb 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/stage-setup-smartdc
View
2 bin/stage-setup-smartdc
@@ -298,7 +298,7 @@ function createAndSetupMachines (count, C) {
function onsetupdone (err) {
if (err) return C(err);
result.machines.push(info);
- if (count) next(count - 1);
+ if (count) return next(count - 1);
return C(null, result);
}

0 comments on commit fa33b14

Please sign in to comment.
Something went wrong with that request. Please try again.