From bb5e18d98189400156cf93502b945172fb25cd23 Mon Sep 17 00:00:00 2001 From: Corey Johnson & Kevin Sawicki Date: Tue, 28 May 2013 14:53:17 -0700 Subject: [PATCH] Exit with 0 when process exists --- src/atom-application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()