From 1abd8d0c5337989caa4fbbdaaa3067c0510b6915 Mon Sep 17 00:00:00 2001 From: Aleksandar Kostadinov Date: Mon, 27 May 2019 21:59:12 +0300 Subject: [PATCH] SIGINT trap consistent with TERM behaviour --- lib/cucumber/cli/main.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cucumber/cli/main.rb b/lib/cucumber/cli/main.rb index 98ee60de75..419243da3a 100644 --- a/lib/cucumber/cli/main.rb +++ b/lib/cucumber/cli/main.rb @@ -86,6 +86,7 @@ def trap_interrupt exit_unable_to_finish! if Cucumber.wants_to_quit Cucumber.wants_to_quit = true STDERR.puts "\nExiting... Interrupt again to exit immediately." + exit_unable_to_finish end end