From 0c89b7d620e5b6533e8c3e981807ec6fd7acbd72 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Wed, 24 Sep 2014 14:56:31 +0530 Subject: [PATCH] Fixed EasyEngine exit status --- bin/easyengine | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/easyengine b/bin/easyengine index 9ee92b17..e2d7e98d 100644 --- a/bin/easyengine +++ b/bin/easyengine @@ -441,7 +441,7 @@ elif [ "$EE_FIRST" = "site" ]; then if [ "$EE_SITE_CREATE_OPTION" = "--html" ] || [ "$EE_SITE_CREATE_OPTION" = "--php" ] || [ "$EE_SITE_CREATE_OPTION" = "--mysql" ] || [ "$EE_SITE_CREATE_OPTION" = "--wp" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then ee_lib_package_check $EE_NGINX_PACKAGE if [ "$EE_PACKAGE_NAME" != "" ]; then - ee stack install nginx + ee stack install nginx || fi fi if [ "$EE_SITE_CREATE_OPTION" = "--php" ] || [ "$EE_SITE_CREATE_OPTION" = "--mysql" ] || [ "$EE_SITE_CREATE_OPTION" = "--wp" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then @@ -807,3 +807,4 @@ fi } EasyEngine $@ | tee -ai $EE_COMMAND_LOG +exit ${PIPESTATUS[0]}