3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

yosys-config: redirect to stderr/stdout depending of exit code

This commit is contained in:
Miodrag Milanovic 2025-04-01 08:39:11 +02:00
parent 58a515d57f
commit 66d7ffb2c5
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ help() {
echo ""
echo " $0 --datdir/simlib.v"
echo ""
} >&2
} >&$(( $1 + 1))
exit $1
}