From 544e97fac05b86eaf4368b4d9f73b197315c602e Mon Sep 17 00:00:00 2001 From: "roberto@oneiric64" Date: Fri, 23 Dec 2011 12:52:27 +0100 Subject: [PATCH] do not export original-proc-name in uwsgi.opt --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 607c8694..e9f7d047 100644 --- a/utils.c +++ b/utils.c @@ -1099,7 +1099,7 @@ void parse_sys_envs(char **envs) { char *earg, *eq_pos; while (*uenvs) { - if (!strncmp(*uenvs, "UWSGI_", 6) && strncmp(*uenvs, "UWSGI_RELOADS=", 14)) { + if (!strncmp(*uenvs, "UWSGI_", 6) && strncmp(*uenvs, "UWSGI_RELOADS=", 14) && strncmp(*uenvs, "UWSGI_ORIGINAL_PROC_NAME=", 25)) { earg = uwsgi_malloc(strlen(*uenvs + 6) + 1); env_to_arg(*uenvs + 6, earg); eq_pos = strchr(earg, '=');