Skip to content

sg: exit 'sg setup' when user hits ctrl-c

Warren Gifford requested to merge mrn/sg-setup-os-exit into main

Created by: mrnugget

This was a regression introduced by 4abaacec730d00ccf59f4e972ea22fbc80c80287.

I don't think we can easily return that EmptyExitErr from the goroutine, so os.Exit(0) still seems like the cleanest way of doing it.

Test plan

  • Manually test it

Merge request reports

Loading