mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 18:13:54 +08:00
refactor(ipfs2/main) replace with equivalent action
This commit is contained in:

committed by
Juan Batiz-Benet

parent
fa5ca3f27f
commit
9268bdd56e
@ -283,7 +283,7 @@ func handleInterrupt() {
|
||||
go func() {
|
||||
for _ = range c {
|
||||
log.Info("Received interrupt signal, terminating...")
|
||||
exit(0)
|
||||
os.Exit(0)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
Reference in New Issue
Block a user