티스토리 뷰

공부

[sh] command || true

승가비 2024. 4. 10. 11:43
728x90

https://stackoverflow.com/questions/11231937/bash-ignoring-error-for-a-particular-command

 

Bash ignoring error for a particular command

I am using following options set -o pipefail set -e In bash script to stop execution on error. I have ~100 lines of script executing and I don't want to check return code of every line in the scr...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[Transactional]  (0) 2024.04.11
[Bcrypt]  (0) 2024.04.11
[github] create pull request  (0) 2024.04.04
[kotlin] return; return@foreach; run breaker@ { return@breaker; }  (0) 2024.04.04
[sql] GROUP_CONCAT(column1 SEPARATOR '; ')  (0) 2024.04.04
댓글