aboutsummaryrefslogtreecommitdiffstats
path: root/setup-bootable.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-bootable.in')
-rw-r--r--setup-bootable.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 30410ad..c0766fb 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -117,7 +117,7 @@ elif [ -b "$dest" ]; then
fi
# Check for RO mounting
-if [ "`grep \"$destdir\" /proc/mount | grep 'ro,'`" == "ro" ]; then
+if [ "`grep \"$destdir\" /proc/mount | grep 'ro,'`" = "ro" ]; then
remountneeded="Y"
mount -o remount,rw "$destdir"
fi
@@ -261,7 +261,7 @@ else
echo "Warning: Could not find the parent device for $dest"
fi
-if [ "$remountneeded" == "Y" ]; then
+if [ "$remountneeded" = "Y" ]; then
mount -o remount,ro "$destdir"
fi