challenge: kp only when piping the command

This commit is contained in:
nemunaire 2020-02-21 05:09:38 +01:00
parent a12d386b62
commit 22a3d75645

View file

@ -1,6 +1,6 @@
#!/bin/sh
init-crypto 2> /dev/null > /dev/null
[ -t 1 ] || init-crypto 2> /dev/null > /dev/null
# FUNCTIONS ###########################################################