aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 8485c6e5..e600945d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -200,7 +200,7 @@ init_crypto() {
fi
/sbin/cryptsetup ${key:+-d $key} luksOpen "$src" "$dst" <&1
else
- /sbin/cryptsetup $params ${key:+-d $key} create "$dst" "$src" <&1
+ /sbin/cryptsetup $params ${key:+-d $key} create "$dst" "$src" <&1 2>/dev/null
fi
rc=$?
if [ -z "$key" -a -x /usr/bin/rhgb-client ] \