diff options
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 |
commit | 5f12eb52143453be88a2c3714925bdc01cc902ac (patch) | |
tree | eccbb7151aedb5211c4f22a8a7e852f85502a8ce /upslak.sh | |
parent | 0571cae7e818db2c918f3b08306c3c8299ce233b (diff) | |
download | liveslak-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.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} |