From 18901d93175fa5949532d80d64fd510a548582f1 Mon Sep 17 00:00:00 2001 From: Matthias Dienstbier Date: Sat, 20 Jun 2009 23:13:50 +0200 Subject: fix syntax error introduced by Xfs freeze patch --- src/core/libs/lib-ui-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 2b57346..ca885c0 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -809,7 +809,7 @@ EOF # freeze xfs filesystems to enable grub installation on xfs filesystems for xfsdev in $(blkid -t TYPE=xfs -o device); do mnt=$(mount | grep $xfsdev | cut -d' ' -f 3) - if [ $mnt = "$var_TARGET_DIR/boot" -o $mnt = "$var_TARGET_DIR/" + if [ $mnt = "$var_TARGET_DIR/boot" -o $mnt = "$var_TARGET_DIR/" ]; then /usr/sbin/xfs_freeze -f $mnt > /dev/null 2>&1 fi done @@ -847,7 +847,7 @@ EOF # unfreeze xfs filesystems for xfsdev in $(blkid -t TYPE=xfs -o device); do mnt=$(mount | grep $xfsdev | cut -d' ' -f 3) - if [ $mnt = "$var_TARGET_DIR/boot" -o $mnt = "$var_TARGET_DIR/" + if [ $mnt = "$var_TARGET_DIR/boot" -o $mnt = "$var_TARGET_DIR/" ]; then /usr/sbin/xfs_freeze -u $mnt > /dev/null 2>&1 fi done -- cgit v1.2.3-54-g00ecf