File: shellcheck.patch

package info (click to toggle)
kpatch 0.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,716 kB
  • sloc: ansic: 9,716; sh: 2,592; makefile: 260; asm: 35
file content (20 lines) | stat: -rw-r--r-- 611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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..."