Merge "Revert "Exit after printing error about RPC config""
This commit is contained in:
commit
b9a7d3b5e4
@ -54,15 +54,13 @@ function check_rpc_backend {
|
|||||||
(( rpc_backend_cnt++ )) || true
|
(( rpc_backend_cnt++ )) || true
|
||||||
done
|
done
|
||||||
if [ "$rpc_backend_cnt" -gt 1 ]; then
|
if [ "$rpc_backend_cnt" -gt 1 ]; then
|
||||||
die $LINENO \
|
echo "ERROR: only one rpc backend may be enabled,"
|
||||||
"Only one rpc backend may be enabled, " \
|
echo " set only one of 'rabbit', 'qpid', 'zeromq'"
|
||||||
"set only one of 'rabbit', 'qpid', 'zeromq' " \
|
echo " via ENABLED_SERVICES."
|
||||||
"via ENABLED_SERVICES."
|
|
||||||
elif [ "$rpc_backend_cnt" == 0 ] && [ "$rpc_needed" == 0 ]; then
|
elif [ "$rpc_backend_cnt" == 0 ] && [ "$rpc_needed" == 0 ]; then
|
||||||
die $LINENO \
|
echo "ERROR: at least one rpc backend must be enabled,"
|
||||||
"at least one rpc backend must be enabled, " \
|
echo " set one of 'rabbit', 'qpid', 'zeromq'"
|
||||||
"set one of 'rabbit', 'qpid', 'zeromq'" \
|
echo " via ENABLED_SERVICES."
|
||||||
"via ENABLED_SERVICES."
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if is_service_enabled qpid && ! qpid_is_supported; then
|
if is_service_enabled qpid && ! qpid_is_supported; then
|
||||||
|
Loading…
Reference in New Issue
Block a user