initrd.scripts: drop subshell in setup_squashfs_aufs

master
Fabio Erculiani 12 years ago
parent 79de6f5fd6
commit eae66a8b4b

@ -1353,7 +1353,6 @@ getdvhoff() {
} }
setup_squashfs_aufs() { setup_squashfs_aufs() {
(
# Setup aufs directories and vars # Setup aufs directories and vars
local overlay=/mnt/overlay local overlay=/mnt/overlay
local static=/mnt/livecd local static=/mnt/livecd
@ -1377,7 +1376,6 @@ setup_squashfs_aufs() {
local new_cdroot="${NEW_ROOT}${CDROOT_PATH}" local new_cdroot="${NEW_ROOT}${CDROOT_PATH}"
[ ! -d "${new_cdroot}" ] && mkdir -p "${new_cdroot}" [ ! -d "${new_cdroot}" ] && mkdir -p "${new_cdroot}"
mount --bind "${CDROOT_PATH}" "${new_cdroot}" mount --bind "${CDROOT_PATH}" "${new_cdroot}"
)
} }
get_mounts_list() get_mounts_list()

Loading…
Cancel
Save