fix mc cp termination on signals (#2934)
This commit is contained in:
+1
-1
@@ -405,7 +405,7 @@ loop:
|
||||
for {
|
||||
select {
|
||||
case <-trapCh:
|
||||
quitCh <- struct{}{}
|
||||
close(quitCh)
|
||||
cancelCopy()
|
||||
// Receive interrupt notification.
|
||||
if !globalQuiet && !globalJSON {
|
||||
|
||||
Reference in New Issue
Block a user