diff --git a/src/atom-application.coffee b/src/atom-application.coffee index 059a8fffb..0364f4d27 100644 --- a/src/atom-application.coffee +++ b/src/atom-application.coffee @@ -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()