diff options
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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" |