Skip to content

Commit a9b3e06

Browse files
committed
Redirect Messages to the log file
1 parent 65a3605 commit a9b3e06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

usr/local/sbin/easyengine

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ EEGITINIT()
535535
fi
536536

537537
# Check For Untracked Files
538-
git status | grep clean
538+
git status | grep clean &>> $INSTALLLOG
539539
if [ $? -ne 0 ]
540540
then
541541
# Add Files In Git Version Control
@@ -547,7 +547,7 @@ EEGITINIT()
547547
EEGITCOMMIT()
548548
{
549549
cd $EEGITDIR || OwnError "Unable To Change Directory $EEGITDIR"
550-
git status | grep --color=auto clean
550+
git status | grep clean &>> $INSTALLLOG
551551

552552
if [ $? -ne 0 ]
553553
then
@@ -847,7 +847,7 @@ EESITEINFO()
847847
EESITEEDIT()
848848
{
849849
# Open Website In Default Editor
850-
sensible-editor /etc/nginx/sites-available/$DOMAIN
850+
sensible-editor /etc/nginx/sites-available/$DOMAIN 2> /dev/null
851851
}
852852

853853
NGINXBUCKETSIZE()

0 commit comments

Comments
 (0)