diff options
Diffstat (limited to 'src/core')
-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 |