Browse Source

Redirect Messages to the log file

old-stable
Mitesh Shah 11 years ago
parent
commit
a9b3e06e52
  1. 6
      usr/local/sbin/easyengine

6
usr/local/sbin/easyengine

@ -535,7 +535,7 @@ EEGITINIT()
fi fi
# Check For Untracked Files # Check For Untracked Files
git status | grep clean git status | grep clean &>> $INSTALLLOG
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
# Add Files In Git Version Control # Add Files In Git Version Control
@ -547,7 +547,7 @@ EEGITINIT()
EEGITCOMMIT() EEGITCOMMIT()
{ {
cd $EEGITDIR || OwnError "Unable To Change Directory $EEGITDIR" cd $EEGITDIR || OwnError "Unable To Change Directory $EEGITDIR"
git status | grep --color=auto clean git status | grep clean &>> $INSTALLLOG
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
@ -847,7 +847,7 @@ EESITEINFO()
EESITEEDIT() EESITEEDIT()
{ {
# Open Website In Default Editor # Open Website In Default Editor
sensible-editor /etc/nginx/sites-available/$DOMAIN sensible-editor /etc/nginx/sites-available/$DOMAIN 2> /dev/null
} }
NGINXBUCKETSIZE() NGINXBUCKETSIZE()

Loading…
Cancel
Save