chef / omnibus-ctl

Provides service control for omnibus packages
Apache License 2.0
23 stars 24 forks source link

Do not continue doing things after Ctrl+C #56

Open marcparadise opened 7 years ago

marcparadise commented 7 years ago

Call Kernel.exit! 1 to force an immediate error-exit if the operator uses Ctrl+C to prevent performing post-hook steps.

Signed-off-by: Marc A. Paradise marc.paradise@gmail.com

tas50 commented 3 years ago

@marcparadise Is this something we want to get merged in still? Seems worth shipping.

marcparadise commented 3 years ago

Yeah, this looks like something that we still want.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication