Skip to content

Commit

Permalink
fix: mc mirror got zero exit code when access denied (#4952)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuker authored Jun 7, 2024
1 parent 17adf0a commit e44a1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/difference.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func difference(sourceURL string, sourceCh <-chan *ClientContent, targetURL stri
return
case minio.ErrorResponse:
switch v.Code {
case "NoSuchBucket", "NoSuchKey":
case "NoSuchBucket", "NoSuchKey", "SignatureDoesNotMatch":
diffCh <- diffMessage{
Error: err,
}
Expand Down

0 comments on commit e44a1c6

Please sign in to comment.