aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-08-02 01:43:49 +0200
committerTom Gundersen <teg@jklm.no>2012-08-02 01:43:49 +0200
commit71d5dbd0443cde15505ae8a7a00655d77bdb6463 (patch)
treeafe78cfa31726dc06a16dbd33c11aea79c0ab692
parenta14e36bf66ceef26797217638857f3cf93873890 (diff)
downloadinitscripts-71d5dbd0443cde15505ae8a7a00655d77bdb6463.tar.xz
lvm: fix activation of lvm after cryptestup
The check was inverted. Just do this unconditionally. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index e1a1081..eb49e2b 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -80,7 +80,7 @@ activate_vgs
if [[ -f /etc/crypttab ]] && type -p cryptsetup >/dev/null; then
read_crypttab do_unlock
# Maybe someone has LVM on an encrypted block device
- (( $? )) && activate_vgs
+ activate_vgs
fi
# Check filesystems