Source: devscripts Severity: minor Tags: patch X-Debbugs-Cc: r...@kalgan.cc
Dear maintainer, When running "nmudiff" with "--non-dd" set, the header "[Replace XX with correct value]" should not be printed because a non-dd doesn't have privileges to push to the deferred upload queue. Please consider applying the attached patch. Thank you.
>From 5bc171e521a80d9fdb83cad6cfa743666668acdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= <r...@kalgan.cc> Date: Fri, 15 Oct 2021 07:55:04 -0700 Subject: [PATCH] nmudiff: fix misleading delay header on non-dd use case --- scripts/nmudiff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nmudiff.sh b/scripts/nmudiff.sh index 3fd6aee2..b3987bfd 100755 --- a/scripts/nmudiff.sh +++ b/scripts/nmudiff.sh @@ -371,7 +371,7 @@ fi TMPNAM="$(mktemp -t "$(basename "$1").XXXXXXXXX")" -if [ "$NMUDIFF_DELAY" = "XX" ] && [ "$NMUDIFF_TEMPLATE" = "" ]; then +if [ "$NMUDIFF_DELAY" = "XX" ] && [ "$NMUDIFF_TEMPLATE" = "" ] && ! [ "$NMUDIFF_NONDD" = "yes" ]; then DELAY_HEADER=" [Replace XX with correct value]" fi -- 2.30.2