fix: Make sure Ctrl-C cancels mc cp right away (#3113)
This commit is contained in:
@@ -479,6 +479,7 @@ loop:
|
||||
if session != nil {
|
||||
session.CloseAndDie()
|
||||
}
|
||||
break loop
|
||||
case cpURLs, ok := <-statusCh:
|
||||
// Status channel is closed, we should return.
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user