Source: debian-policy Severity: minor
In https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-gainrootapi we find the following example: """ Examples of valid use of the gain root command: # sh-syntax (assumes set -e semantics for error handling) $DEB_GAIN_ROOT_CMD some-cmd --which-requires-root # perl my @cmd = ('some-cmd', '--which-requires-root'); unshift(@cmd, split(' ', $ENV{DEB_GAIN_ROOT_CMD})) if $ENV{DEB_GAIN_ROOT_CMD}; system(@cmd) == or die("@cmd failed"); """ The Perl code is invalid. There is missing a 0 after "==" and before "or die(...)". Thanks, ~Niels