Bug#686247: debdiff exits with wrong exit code (regression after security update)

Nikolaus Schulz schulz at macnetix.de
Thu Aug 30 14:47:44 UTC 2012


Package: devscripts
Version: 2.10.69+squeeze2
Severity: normal
Tags: patch

As of devscripts 2.10.69+squeeze2 in squeeze and (judging from the
changelog) 2.11.4 in sid, debdiff returns an exit code 1 when it finds
no differences between binary packages.

Note that this is a regression in squeeze, and breaks scripts relying on
the debdiff exit code.

Trivial patch is attached.

Nikolaus


PS. I'm forwarding this from the mailing list to the BTS so that it
    doesn't get ignored.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-debdiff-exit-code-regression.patch
Type: text/x-diff
Size: 1212 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120830/5d2d5662/attachment.patch>


More information about the devscripts-devel mailing list