[xml/sgml-pkgs] Bug#908257: linuxdoc-tools: postrm script has a wrong redirection
treinen at debian.org
treinen at debian.org
Fri Sep 7 18:54:24 BST 2018
Package: linuxdoc-tools
Version: 0.9.73-1
Severity: minor
User: treinen at debian.org
Usertags: colis-shparser
Dear maintainer,
the postrm file of package linuxdoc-tools contains a wrong
redirection of the form:
some-command 2>&1 > /dev/null
Here it was probably intended to send both 2 (stderr) and 1 (stdout)
to /dev/null. In reality, the effect of the above is to send only 1
to /dev/null, and to send 2 to the file that 1 was sent to before
that line. The correct invocation to send both to /dev/null is
some-command > /dev/null 2>&1
This bug filing has been discussed and approved in thread [1].
-Nicolas and Ralf.
[1] https://lists.debian.org/debian-devel/2018/08/msg00031.html
More information about the debian-xml-sgml-pkgs
mailing list