aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 93f4261..d562e36 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -133,7 +133,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.
- if $CS isLuks "$2"; then
+ if $CS isLuks "$2" 2>/dev/null; then
open=luksOpen
a="$2"
b="$1"