This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7d3eb5a6f16c936d502f776783051e24016613ed

commit 7d3eb5a6f16c936d502f776783051e24016613ed
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Aug 14 18:54:15 2020 +0200

    debian: Do not fail the bug-script if readlink fails
    
    When readlink fails inside a $() the whole script fails. Remove the
    «set -e» from the bug-script, as making it fail will cause programs
    like reportbug to make it way harder to report bugs, which is
    counterproductive.
    
    Closes: #968397
---
 debian/bug-script | 2 --
 1 file changed, 2 deletions(-)

diff --git a/debian/bug-script b/debian/bug-script
index ae3b40296..835c36f91 100644
--- a/debian/bug-script
+++ b/debian/bug-script
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-set -e
-
 for d in /bin /sbin /lib /lib32 /libo32 /libx32 /lib64; do
   linkname="$(readlink $d)"
   if [ "$linkname" = "usr$d" ] || [ "$linkname" = "/usr$d" ]; then

-- 
Dpkg.Org's dpkg

Reply via email to