Commit bfe3e66e authored by Niels Möller's avatar Niels Möller
Browse files

Redirect output from the type command to

/dev/null.

Rev: src/lsh-authorize:1.6
parent 1fcf7bb2
......@@ -40,13 +40,13 @@ create_dir () {
create_dir ~/.lsh 0700
create_dir ~/.lsh/authorized_keys_sha1 0700
if type sexp-conv ; then
if type sexp-conv &>/dev/null ; then
SEXP_CONV=sexp-conv
else
SEXP_CONV=./sexp-conv
fi
if ! type $SEXP_CONV ; then
if ! type $SEXP_CONV &>/dev/null; then
echo "Can't find the sexp-conv program"
exit 1
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment