#1145935 Subject: maintainer-script-ignores-errors is shown even if set -o errexit is enabled

#1145935#5
Date:
2026-08-28 05:20:01 UTC
From:
To:
Lintian's maintainer-script-ignores-errors check triggers even if
`set -o errexit` is present at the top of a script. It seems to only
look for `set -e` (and something else called "bange" that I couldn't
quite tell what it is from looking at Lintian's code, I assume that
would be something like `#!/bin/bash -e`). The project I'm working on
has a coding style that mandates the use of long options wherever
possible to reduce confusion, so using `set -e` isn't something we want
to do when `set -o errexit` exists.