aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-02-03 13:50:35 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2012-02-03 13:58:08 +0100
commite88c1e1781f453db2de6ea46cc574c237c042a6a (patch)
tree3e8e3836d40fe2050e5b99462a5e9f3e7ec6c7e9 /rc.sysinit
parent05d1c04cf9e5916de8550115dc578e91d29651cd (diff)
downloadinitscripts-e88c1e1781f453db2de6ea46cc574c237c042a6a.tar.xz
Small style cleanup
* Add whitespace to arithmetic expressions. * Use boolean logic for semantically boolean variables. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 27ad124..458239e 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -169,7 +169,7 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
crypto_unlocked=0
read_crypttab do_unlock && stat_done || stat_fail
# Maybe someone has LVM on an encrypted block device
- (( crypto_unlocked == 1 )) && activate_vgs
+ (( crypto_unlocked )) && activate_vgs
fi
# Check filesystems