Update Bash RC script to ensure background process runs silently.
This commit is contained in:
parent
92b942eaa7
commit
ed51725a6e
2
.bashrc
2
.bashrc
|
@ -118,7 +118,7 @@ fi
|
||||||
# Update brew if it's older than one day
|
# Update brew if it's older than one day
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
if [ -x /usr/local/bin/brew ]; then
|
if [ -x /usr/local/bin/brew ]; then
|
||||||
find /usr/local/.git -name FETCH_HEAD -mtime +0 -exec brew update \; >> ~/var/log/brew-update.log 2>&1 &
|
( find /usr/local/.git -name FETCH_HEAD -mtime +0 -exec brew update \; >> ~/var/log/brew-update.log 2>&1 & )
|
||||||
fi
|
fi
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue