PROCFS is always set
This commit is contained in:
Matthias Radestock committed 2016-01-02 00:14:18 +00:00
1 parent be8260ae79
commit 20a8488a15
1 file changed
+1 -1
+1 -1
View File
@@ -1435,7 +1435,7 @@ proxy_args() {
proxy_parse_args "$@"
if [ -z "$PROXY_TLS_ENABLED" -a -z "$PROXY_TLS_DETECTION_DISABLED" ] && command_exists docker_tls_args ; then
if ! DOCKER_TLS_ARGS=$(docker_tls_args ${PROCFS:-/proc}) ; then
if ! DOCKER_TLS_ARGS=$(docker_tls_args $PROCFS) ; then
echo "Unable to auto-detect proxy TLS configuration; you must launch the proxy with" >&2
echo "'weave launch-proxy' and supply '--no-detect-tls' or TLS options." >&2
exit 1