summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit6
1 files changed, 2 insertions, 4 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 0514343..c031531 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -87,11 +87,9 @@ activate_vgs
# Set up non-root encrypted partition mappings
if [[ -f /etc/crypttab ]] && type -p cryptsetup >/dev/null; then
- stat_busy "Unlocking encrypted volumes"
- crypto_unlocked=0
- read_crypttab do_unlock && stat_done || stat_fail
+ read_crypttab do_unlock
# Maybe someone has LVM on an encrypted block device
- (( crypto_unlocked )) && activate_vgs
+ (( $? )) && activate_vgs
fi
# Check filesystems