Fix shellcheck SC1007 in helper_units
CI / tests (Python 3.11) (pull_request) Successful in 39s
CI / tests (Python 3.10) (pull_request) Successful in 39s
CI / tests (Python 3.12) (pull_request) Successful in 40s
CI / tests (Python 3.13) (pull_request) Successful in 39s
CI / lint (pull_request) Successful in 3s

`local x=` reads to shellcheck like a mistyped assignment; spell the empty
values as ''.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
patrickandClaude Opus 5.5 committed 2026-11-01 15:31:10 -05:00
1 parent 8174f1df81
commit 1b6cfce18b
1 file changed
+1 -1
+1 -1
View File
@@ -199,7 +199,7 @@ read_livepatch() {
HELPER_UNITS=(apt-update needrestart)
HELPER_MAX_AGE=7200
helper_units() {
local name file mtime now result= code= status= failures=
local name file mtime now result='' code='' status='' failures=''
now=$(date +%s)
for name in "${HELPER_UNITS[@]}"; do
file=$ROOT/run/kernelwatch/$name.result