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:
parent
58a515d57f
commit
66d7ffb2c5
2 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ help() {
|
|||
echo ""
|
||||
echo " $0 --datdir/simlib.v"
|
||||
echo ""
|
||||
} >&2
|
||||
} >&$(( $1 + 1))
|
||||
exit $1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue