fix: Make sure Ctrl-C cancels mc cp right away (#3113)

This commit is contained in:
poornas
2020-03-11 21:42:38 -07:00
committed by GitHub
parent 128f81461c
commit 1092f6932f
+1
View File
@@ -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 {