Exit with 0 when process exists

This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-05-28 14:53:17 -07:00
parent 7bc905d352
commit bb5e18d981

View File

@@ -32,7 +32,7 @@ class AtomApplication
@windows = []
@sendArgumentsToExistingProcess (success) =>
process.exit(1) if success # An Atom already exists, kill this process
process.exit(0) if success # An Atom already exists, kill this process
@listenForArgumentsFromNewProcess()
@setupNodePath()
@setupJavaScriptArguments()