diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-07-31 16:40:34 -0400 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2011-07-31 16:40:34 -0400 |
commit | 50a00f2f0f268425bebb5c1084b7ccf75e1ec519 (patch) | |
tree | 18753bea36baf35e9d7d7d9cc654f3b5931328f4 /setup-bootable.in | |
parent | 70b1a6716dc5e2ed4a4b92d908691f86924c3753 (diff) | |
download | alpine-conf-50a00f2f0f268425bebb5c1084b7ccf75e1ec519.tar.bz2 alpine-conf-50a00f2f0f268425bebb5c1084b7ccf75e1ec519.tar.xz |
setup-{apklbu, bootable, chrony, sshd}: replace double equals in if statements with single equals
Diffstat (limited to 'setup-bootable.in')
-rw-r--r-- | setup-bootable.in | 4 |
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 |