diff --git a/rc_shared.sh b/rc_shared.sh index 89d79fc..f2597ef 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -136,13 +136,13 @@ function update-shared2 { alias shared-update2="update-shared2" alias reload-shared2="update-shared2" alias shared-reload2="update-shared2" -if [[ -d $project ]]; then +( if [[ -d $project ]]; then git -C $project fetch >/dev/null 2>&1 && git -C $project status | grep "is behind" \ | while read status; do log "\n\n`date` - Updates to env-shared are available via update-shared2." - log ": '$status'\n" + #log ": '$status'" done -fi & +fi & ) # Shortcuts #