mc should exit with non-zero status if any ERROR's encountered
Actual behavior
mc exist status is zero
Steps to reproduce the behavior
root@dec00a348530:/app# mc cp s3/default/1.mp4 1.mp4
mc: <ERROR> Unable to prepare URL for copying. Unable to guess the type of copy operation.
root@dec00a348530:/app# echo $?
0
mc --version
mc version RELEASE.2023-11-20T16-30-59Z (commit-id=937b34616f012ad30e1cd6fd61e1da25ff931648)
Runtime: go1.21.4 linux/arm64
Copyright (c) 2015-2023 MinIO, Inc.
License GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Expected behavior
mc
should exit with non-zero status if any ERROR's encounteredActual behavior
mc
exist status is zeroSteps to reproduce the behavior
mc --version
System information
Official Docker Image arm64