[arch-releng] [PATCH] Remove a leading whitespace in the generated menu.lst

Thomas Bächler thomas at archlinux.org
Sat Aug 29 09:32:10 UTC 2009


---
 src/core/libs/lib-ui-interactive.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index d9f8795..9c8dc3e 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -1103,7 +1103,7 @@ generate_grub_menulst() {
 				debug 'FS' 'Grub kernel line? Found / on dm_crypt on lvm on raw'
 				crypt_device=`echo "$ANSWER_DEVICES" | sed -n '1p' | cut -d ' ' -f1`
 				lv_device=`echo "$ANSWER_DEVICES" | sed -n '2p' | cut -d ' ' -f1`
-				kernel=" kernel $subdir/vmlinuz26 root=$crypt_device cryptdevice=$lv_device:`basename $crypt_device` ro"
+				kernel="kernel $subdir/vmlinuz26 root=$crypt_device cryptdevice=$lv_device:`basename $crypt_device` ro"
 			elif echo "$ANSWER_DEVICES" | sed -n '1p' | grep -q 'raw$'
 			then
 				debug 'FS' 'Grub kernel line? Found / on raw'
-- 
1.6.4.1



More information about the arch-releng mailing list