summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-02-26 22:53:39 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-04-04 14:42:44 +0200
commit423d1c7028effbe0ca51291a7affc437b51ecf32 (patch)
tree82ba42418ea2648b3387a1586a95a917efb73394
parent0b8dd2579e2446dc04d6818297fa7b1600b54b30 (diff)
downloadmkinitcpio-ykfde-423d1c7028effbe0ca51291a7affc437b51ecf32.tar.gz
mkinitcpio-ykfde-423d1c7028effbe0ca51291a7affc437b51ecf32.tar.zst
do not write second factor to stdout (and log to journal)
Signed-off-by: Christian Hesse <mail@eworm.de>
-rw-r--r--systemd/ykfde-2f2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/ykfde-2f b/systemd/ykfde-2f
index 0884a61..c34bde8 100644
--- a/systemd/ykfde-2f
+++ b/systemd/ykfde-2f
@@ -5,7 +5,7 @@
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
-systemd-ask-password --no-tty --keyname='ykfde-2f' 'Please enter second factor for Yubikey full disk encryption!'
+systemd-ask-password --no-tty --keyname='ykfde-2f' 'Please enter second factor for Yubikey full disk encryption!' >/dev/null
if [ -s '/run/ykfde.pid' ]; then
kill -USR1 $(cat '/run/ykfde.pid')