From 8727092ee5004b4a097657db77afe70327d4090e Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 2 Sep 2013 12:39:42 +0530 Subject: [PATCH] Fix Nginx User Conflict With Customn Nginx Logs --- usr/local/sbin/easyengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 04fdc015..6fd15eda 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -447,7 +447,7 @@ MYSQLINFO() NGINXUSERINFO() { # Nginx User - NGINXUSER=$(grep user /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d';' -f1) \ + NGINXUSER=$(grep ^user /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d';' -f1) \ || OwnError "Unable To Findout Nginx Username" }