From 6de99ebc4a2cbfbb4d6b6481239dfece7848047e Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Tue, 7 Aug 2018 11:50:26 -0700 Subject: [PATCH] Set correct status for sigint (#4917) Fixes #4916 --- bin/next | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/next b/bin/next index 884f19e5..3f4366f1 100755 --- a/bin/next +++ b/bin/next @@ -75,7 +75,7 @@ const startProcess = () => { process.exit(137) } console.log(`got signal ${signal}, exiting`) - process.exit(1) + process.exit(signal === 'SIGINT' ? 0 : 1) } process.exit(0) })