Navigation Menu

Skip to content

Commit

Permalink
Ensure we exit with a non-zero return code when there is an error sta…
Browse files Browse the repository at this point in the history
…rting up.
  • Loading branch information
garyd203 committed Oct 31, 2012
1 parent a733e34 commit a6a6c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Expand Up @@ -77,5 +77,5 @@ if (server.listen(listenOnPort, router.handle)) {
}
} else {
console.error("ERROR: Could not start Ghost Driver");
phantom.exit();
phantom.exit(1);
}

0 comments on commit a6a6c01

Please sign in to comment.