From 1abaacf33c07bcceee75b65f5779558ec64e2c55 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 11 Jul 2014 15:54:55 +0530 Subject: [PATCH] Minor fix --- src/modules/secure/ee_mod_secure_auth.sh | 1 + src/modules/secure/ee_mod_secure_port.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/secure/ee_mod_secure_auth.sh b/src/modules/secure/ee_mod_secure_auth.sh index 48193744..b8281793 100644 --- a/src/modules/secure/ee_mod_secure_auth.sh +++ b/src/modules/secure/ee_mod_secure_auth.sh @@ -6,6 +6,7 @@ function ee_mod_secure_auth() read -p "Provide HTTP authentication user name [easyengine]: " ee_http_auth_user read -sp "Provide HTTP authentication password [easyengine]: " ee_http_auth_pass + echo # If enter is pressed, set easyengine if [[ $ee_http_auth_user = "" ]]; then diff --git a/src/modules/secure/ee_mod_secure_port.sh b/src/modules/secure/ee_mod_secure_port.sh index c9cb7a5a..5fea76fd 100644 --- a/src/modules/secure/ee_mod_secure_port.sh +++ b/src/modules/secure/ee_mod_secure_port.sh @@ -9,6 +9,6 @@ function ee_mod_secure_port() ee_port=22222 fi - sed -i "s/listen 22222/listen $ee_port" /etc/nginx/sites-available/22222 \ + sed -i "s/listen 22222/listen $ee_port/" /etc/nginx/sites-available/22222 \ || ee_lib_error "Unable to change EasyEngine admin port, exit status = " $? }