summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-ui-interactive.sh4
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