aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index f5c3e87..9550122 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -136,9 +136,7 @@ if [[ -f /etc/crypttab && $CS ]]; then
# Ordering of options is different if you are using LUKS vs. not.
# Use ugly swizzling to deal with it.
# isLuks only gives an exit code but no output to stdout or stderr.
- $CS isLuks "$2"
- _isluks=$?
- if [[ $_isluks ]]; then
+ if $CS isLuks "$2"; then
open=luksOpen
a="$2"
b="$1"