]> git.sev.monster Git - dotfiles.git/commitdiff
suppress stderr for `which gpg`
authorsev <git@sev.monster>
Sun, 11 Oct 2020 21:35:50 +0000 (16:35 -0500)
committersev <git@sev.monster>
Sun, 11 Oct 2020 21:35:50 +0000 (16:35 -0500)
install.sh

index 25e094a1845ce034326a6673ac67c934cf4565d8..34722ed16935dfb837a07b4115e226677441114e 100755 (executable)
@@ -73,7 +73,7 @@ done
 find gpg -mindepth 1 -maxdepth 1 \! -name '*.gpg' | while read -r x; do
        l "$HOME/.gnupg/`basename "$x"`"
 done
-if which gpg >/dev/null; then
+if which gpg >/dev/null 2>&1; then
        find gpg -mindepth 1 -maxdepth 1 -name '*.gpg' | while read -r x; do
                gpg --import "$x"
        done
This page took 0.033946 seconds and 4 git commands to generate.