Description: Jammy shellcheck fixes
 Another new release, another set of shellcheck issues detected needing
 fixing.

Author: Benjamin M Romer <benjamin.romer@canonical.com>
Last-Update: 2022-05-24
Author: Santiago Ruano Rincón <santiago@debian.org>
Last-Update: 2024-06-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/kpatch/kpatch
+++ b/kpatch/kpatch
@@ -354,6 +354,7 @@
 			# failed.  Retry in a few seconds.
 			i=$((i+1))
 			if [[ $i -eq $MAX_LOAD_ATTEMPTS ]]; then
+				# shellcheck disable=SC2317
 				die "failed to load module $module"
 			else
 				warn "retrying..."
