diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index a862ce66..9d8b53a8 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -2207,8 +2207,7 @@ then # Update EasyEngine echo -e "\033[34mChecking EasyEngine Update, Please Wait...\e[0m" - /bin/bash <(curl -sL https://raw.github.com/rtCamp/easyengine/stable/usr/local/sbin/eeupdate) && exit 0; - exit 0; + /bin/bash <(curl -sL https://raw.github.com/rtCamp/easyengine/stable/usr/local/sbin/eeupdate) else echo -e "\033[34mList Of Available Commands:\e[0m" diff --git a/usr/local/sbin/eeupdate b/usr/local/sbin/eeupdate index e58b1b92..a5035740 100644 --- a/usr/local/sbin/eeupdate +++ b/usr/local/sbin/eeupdate @@ -288,6 +288,11 @@ then echo -e "\033[34mFor EasyEngine (ee) Auto Completion Run Following Command\e[0m" | tee -ai $INSTALLLOG echo -e "\033[37msource /etc/bash_completion.d/ee\e[0m" | tee -ai $INSTALLLOG echo + echo -e "\033[34mEasyEngine (ee) Updated Successfully\e[0m" | tee -ai $INSTALLLOG + + echo -e "\033[34mKilling The Parent Process\e[0m" &>> $INSTALLLOG + ps ax | grep $PPID | grep -v grep &>> $INSTALLLOG + kill -9 $PPID else echo "EasyEngine Already Updated To The Latest Version"