bx509: do not test bx509d if not built
This commit is contained in:
@@ -257,6 +257,11 @@ if ! which curl; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! test -x ${objdir}/../../kdc/bx509d; then
|
||||||
|
echo "Configured w/o libmicrohttpd -- not testing bx509d"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Starting bx509d"
|
echo "Starting bx509d"
|
||||||
${bx509d} --reverse-proxied -H $H --cert=${objdir}/bx509.pem -t -p $port --daemon ||
|
${bx509d} --reverse-proxied -H $H --cert=${objdir}/bx509.pem -t -p $port --daemon ||
|
||||||
{ echo "bx509 failed to start"; exit 2; }
|
{ echo "bx509 failed to start"; exit 2; }
|
||||||
|
Reference in New Issue
Block a user