Fix the bug of INSTALLER_PID

It was previously variable. Changed it
 to env variable to refer from function
This commit is contained in:
Suikan 2021-07-01 22:38:49 +09:00
parent a0100fecd2
commit 395ed2654d
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ function main() {
fg
# Record the PID of the installer.
installer_pid=$!
export INSTALLER_PID=$!
# Common part of the para-install.
# Record the install PID, modify the /etc/default/grub of the target,