fix mc cp termination on signals (#2934)

This commit is contained in:
Bala FA
2019-10-21 22:12:56 +05:30
committed by kannappanr
parent 16965bc19a
commit 72403ecbd1
+1 -1
View File
@@ -405,7 +405,7 @@ loop:
for {
select {
case <-trapCh:
quitCh <- struct{}{}
close(quitCh)
cancelCopy()
// Receive interrupt notification.
if !globalQuiet && !globalJSON {