diff options
author | Thomas Bächler <thomas@archlinux.org> | 2011-01-27 13:54:44 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-01-27 13:54:44 +0100 |
commit | c1f38e1186a60a2d63947881d2879c22fc375da4 (patch) | |
tree | 087dfa40419ccded1765324b40e0719e8cdf2a79 /rc.sysinit | |
parent | 39c1bf5ea0a3bce6ffcd8af79f0b924732a5b509 (diff) | |
download | initscripts-c1f38e1186a60a2d63947881d2879c22fc375da4.tar.xz |
Suppress the output of cryptsetup isLuks.
No idea why it would output anything, but it does in case of failure.
Suppress the standard error.
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |