diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-15 12:07:56 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-15 12:07:56 +0100 |
commit | 01f787976ff52b9579e97604272664627a64c53c (patch) | |
tree | 436f516467e2820fafe1ca3557fe1a80b673a711 | |
parent | d20ccc5e16ab42a64d3d9f8e39060b7ac66a4a3a (diff) |
syntax fix for grub code causing wrong menu.lst
-rw-r--r-- | 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 343ecc4..8fdc5dc 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -709,7 +709,7 @@ interactive_install_grub() { bootdev=$(mount | grep $var_TARGET_DIR/boot | cut -d' ' -f 1) if [ "$grubdev" != "" -o "$bootdev" != "" ]; then subdir= - [ -n "$bootdev" != "" ] && grubdev=$(mapdev $bootdev) || subdir="/boot" + [ -n "$bootdev" ] && grubdev=$(mapdev $bootdev) || subdir="/boot" # keep the file from being completely bogus if [ "$grubdev" = "DEVICE NOT FOUND" ]; then |