diff -Nru dpkg-1.17.5ubuntu5.5/debian/changelog dpkg-1.17.5ubuntu5.6/debian/changelog --- dpkg-1.17.5ubuntu5.5/debian/changelog 2015-11-26 12:57:52.000000000 +0000 +++ dpkg-1.17.5ubuntu5.6/debian/changelog 2016-04-25 18:52:44.000000000 +0000 @@ -1,3 +1,9 @@ +dpkg (1.17.5ubuntu5.6) trusty; urgency=medium + + * dpkg-maintscript-helper: s/exit/return/ in subshells (LP: #1574285) + + -- Adam Conrad Mon, 25 Apr 2016 12:44:01 -0600 + dpkg (1.17.5ubuntu5.5) trusty-security; urgency=medium * SECURITY UPDATE: multiple security issues diff -Nru dpkg-1.17.5ubuntu5.5/scripts/dpkg-maintscript-helper.sh dpkg-1.17.5ubuntu5.6/scripts/dpkg-maintscript-helper.sh --- dpkg-1.17.5ubuntu5.5/scripts/dpkg-maintscript-helper.sh 2013-12-12 07:00:28.000000000 +0000 +++ dpkg-1.17.5ubuntu5.6/scripts/dpkg-maintscript-helper.sh 2016-04-25 18:47:45.000000000 +0000 @@ -396,9 +396,9 @@ package="$1" file="$2" if ! dpkg-query -L "$package" | grep -q -x "$file"; then - return 1 + exit 1 fi - return 0 + exit 0 ' check-files-ownership "$PACKAGE" || \ error "directory '$PATHNAME' contains files not owned by" \ "package $PACKAGE, cannot switch to symlink"