From 5f12eb52143453be88a2c3714925bdc01cc902ac Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 3 Apr 2024 21:26:18 +0200 Subject: upslak.sh : a local variable should be global since it is used elsewhere --- upslak.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upslak.sh b/upslak.sh index aa1c9ff..4306453 100644 --- a/upslak.sh +++ b/upslak.sh @@ -127,6 +127,7 @@ MINFREE=${MINFREE:-10} # Variables to store content from an initrd we are going to refresh: OLDKERNELSIZE="" +OLDKMODDIRSIZE="" OLDWAIT="" # Record the version of the new kernel: @@ -627,7 +628,6 @@ function read_initrddir() { local INITVARS="$2" local OLDKVER local OLDMODDIR - local OLDKMODDIRSIZE local PREVMODDIR cd ${IMGDIR} -- cgit v1.2.3-65-gdbad