mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-09 04:45:23 +01:00
Avoid exporting the DISK variable
It's not expected to be used by child processes.
This commit is contained in:
parent
49a2676551
commit
1026440104
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ if [ $(($(ls -l "/dev/${DISK}" | sed "s/.*, *//" | sed "s/ .*//") % 8)) -eq 0 ];
|
|||
mkfs.ext4 "/dev/${DISK}1"
|
||||
DISK="${DISK}1"
|
||||
fi
|
||||
echo "export DISK=${DISK}" >> /usr/src/bootstrap.cfg
|
||||
echo "DISK=${DISK}" >> /usr/src/bootstrap.cfg
|
||||
|
||||
SYSC=/sysc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue