diff --git a/debian/patches/20_check_apt_unknown_escape_sequence b/debian/patches/20_check_apt_unknown_escape_sequence new file mode 100644 index 0000000..3c7674e --- /dev/null +++ b/debian/patches/20_check_apt_unknown_escape_sequence @@ -0,0 +1,22 @@ +From 28553e8d1cc56de12e4c9f7705a92f0e0e86d9d9 Mon Sep 17 00:00:00 2001 +From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> +Date: Mon, 19 Dec 2022 17:15:49 +0100 +Subject: [PATCH] Fix unknown escape sequence error output + +--- + plugins/check_apt.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/check_apt.c b/plugins/check_apt.c +index d7be57505..f70fec16b 100644 +--- a/plugins/check_apt.c ++++ b/plugins/check_apt.c +@@ -530,7 +530,7 @@ print_help (void) + printf (" %s\n", _("this REGEXP, the plugin will return CRITICAL status. Can be specified")); + printf (" %s\n", _("multiple times like above. Default is a regexp matching security")); + printf (" %s\n", _("upgrades for Debian and Ubuntu:")); +- printf (" \t\%s\n", SECURITY_RE); ++ printf (" \t%s\n", SECURITY_RE); + printf (" %s\n", _("Note that the package must first match the include list before its")); + printf (" %s\n", _("information is compared against the critical list.")); + printf (" %s\n", "-o, --only-critical"); diff --git a/debian/patches/series b/debian/patches/series index 4b7a686..ad3b0d3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ 17_check_curl_detect_ipv6 18_check_icmp_help 19_check_disk_fs_usage +20_check_apt_unknown_escape_sequence