ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.16k stars 3.01k forks source link

Migrations prompt hides Ctrl+c for shutdown #3157

Open ghost opened 8 years ago

ghost commented 8 years ago
$ cmd/ipfs/ipfs daemon
Initializing daemon...
Found outdated fs-repo, migrations need to be run.
Run migrations now? [y/N] ^C
Received interrupt signal, shutting down...
(Hit ctrl-c again to force-shutdown the daemon.)

Another Ctrl-c does the job, but I think this needs a context. ScanContext? :)

whyrusleeping commented 7 years ago

I think the issue here is that the ctrl+c is being sent to a subprocess.