From e88c1e1781f453db2de6ea46cc574c237c042a6a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 3 Feb 2012 13:50:35 +0100 Subject: Small style cleanup * Add whitespace to arithmetic expressions. * Use boolean logic for semantically boolean variables. Signed-off-by: Lukas Fleischer --- rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.sysinit') 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 -- cgit v1.2.3