aboutsummaryrefslogtreecommitdiff
path: root/git-hooks/commit-msg
diff options
context:
space:
mode:
authorEvgeniy Naydanov <evgeniy.naydanov@syntacore.com>2024-12-17 18:13:00 +0300
committerAntonio Borneo <borneo.antonio@gmail.com>2025-01-25 10:34:15 +0000
commit345473f3ceaf6a1241f62354e31eeababfc56588 (patch)
tree1302811fc9adb587360b1b16d07254d93a711c29 /git-hooks/commit-msg
parent778d2dc4bb982ffa00f5fbd343346555fcbf9113 (diff)
downloadriscv-openocd-345473f3ceaf6a1241f62354e31eeababfc56588.zip
riscv-openocd-345473f3ceaf6a1241f62354e31eeababfc56588.tar.gz
riscv-openocd-345473f3ceaf6a1241f62354e31eeababfc56588.tar.bz2
helper/options: handle errors in `-l`
Before the patch an error in opening the log file (e.g. can't write a file) was ignored when specified via `-l`. E.g.: ``` > touch log > chmod -w log > openocd -l log -c shutdown ... failed to open output log "log" shutdown command invoked > echo $? 0 ``` After the patch: ``` ... > openocd -l log -c shutdown ... failed to open output log "log" > echo $? 1 ``` Change-Id: Ibab45f580dc46a499bf967c4afad071f9c2972a2 Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8666 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions