diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2008-12-17 09:24:14 -0600 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2008-12-17 09:24:14 -0600 |
commit | 5f9a6b2749afac63015bf83a5b466a264db729e9 (patch) | |
tree | da38d6ff7051137b7dd0d685f348b827feed9f0b /defaults | |
parent | Run the getty commands with proper arguments so they don't die immediately (diff) | |
download | genkernel-5f9a6b2749afac63015bf83a5b466a264db729e9.tar.gz genkernel-5f9a6b2749afac63015bf83a5b466a264db729e9.tar.bz2 genkernel-5f9a6b2749afac63015bf83a5b466a264db729e9.zip |
Remove the use of 'env -i' when calling switch_root due to gentoo bug #248688
Diffstat (limited to 'defaults')
-rwxr-xr-x | defaults/linuxrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc index 4d21314..d506f83 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -698,7 +698,7 @@ umount /sys || echo '*: Failed to unmount the ramdisk /sys!' umount /proc || echo '*: Failed to unmount the ramdisk /proc!' echo -e "${BOLD}.${NORMAL}" -exec env -i /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" "${INIT_OPTS}" +exec /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" "${INIT_OPTS}" # If we get here, something bad has happened splash 'verbose' |