diff options
author | Matthias Dienstbier <mdienstbier@googlemail.com> | 2009-06-20 23:13:50 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-20 23:13:50 +0200 |
commit | 18901d93175fa5949532d80d64fd510a548582f1 (patch) | |
tree | c92dc1f09b6d8763d9d15316a4424717439020c0 | |
parent | ba0e266b9d26ac1ab0e1afb050df9dfeb9b7500f (diff) |
fix syntax error introduced by Xfs freeze patch
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 4 |
1 files 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 |