aboutsummaryrefslogtreecommitdiffstats
path: root/upslak.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2024-04-03 21:26:18 +0200
committer Eric Hameleers <alien@slackware.com>2024-04-03 21:26:18 +0200
commit5f12eb52143453be88a2c3714925bdc01cc902ac (patch)
treeeccbb7151aedb5211c4f22a8a7e852f85502a8ce /upslak.sh
parent0571cae7e818db2c918f3b08306c3c8299ce233b (diff)
downloadliveslak-5f12eb52143453be88a2c3714925bdc01cc902ac.tar.gz
liveslak-5f12eb52143453be88a2c3714925bdc01cc902ac.tar.xz
upslak.sh : a local variable should be global since it is used elsewhere
Diffstat (limited to 'upslak.sh')
-rw-r--r--upslak.sh2
1 files changed, 1 insertions, 1 deletions
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}