Closed BANKA2017 closed 1 year ago
https://github.com/MoeNetwork/Tieba-Cloud-Sign/actions/runs/4269211429/jobs/7432240707
可以参考
https://unix.stackexchange.com/questions/736546/how-to-cause-awk-to-fail-if-previous-command-tar-also-fails
https://unix.stackexchange.com/questions/14270/get-exit-status-of-process-thats-piped-to-another
用
$PIPESTATUS
来得知这一坨&&串联的命令中到底那个exit code non-zero了