zero exit status on syntax error in graphviz 2.36.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
unlike in version 2.38, graphviz 2.36.0 does not return a non-zero exit status on syntax errors:
$ echo 'nongraph' | dot -Tsvg && echo $?
Warning: <stdin>: syntax error in line 1 near 'nongraph'
0
(echo should not be executed: $? should be 1)
$ dot -V
dot - graphviz version 2.36.0 (20140111.2315)
$ apt-cache policy graphviz
graphviz:
Installed: 2.36.0-0ubuntu3.2
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
AFAIU, the following change needs to be backported:
https:/
Upstream bugs:
https:/
https:/