diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2018-04-26 14:48:01 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2018-04-26 15:55:42 +0200 |
commit | 76f59701edd9430903f685a3cc77773e154c485f (patch) | |
tree | 872e3442d020a6676801e2a56f41eae39708d49d | |
parent | c977897523eeb2270adb5d2fe8c70658c94a2b00 (diff) | |
download | initscripts-76f59701edd9430903f685a3cc77773e154c485f.tar initscripts-76f59701edd9430903f685a3cc77773e154c485f.tar.gz initscripts-76f59701edd9430903f685a3cc77773e154c485f.tar.bz2 initscripts-76f59701edd9430903f685a3cc77773e154c485f.tar.xz initscripts-76f59701edd9430903f685a3cc77773e154c485f.zip |
cryptsetup: do not forward STDERR to /dev/null when promting for passphrase
https://bugzilla.redhat.com/show_bug.cgi?id=1571035
-rw-r--r-- | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 2e192a61..4867d858 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -952,7 +952,7 @@ init_crypto() { fi else [ -z "$key" ] && plymouth --hide-splash - /sbin/cryptsetup $params ${key:+-d $key} create "$dst" "$src" <&1 2>/dev/null && success || failure + /sbin/cryptsetup $params ${key:+-d $key} create "$dst" "$src" <&1 && success || failure rc=$? [ -z "$key" ] && plymouth --show-splash fi |