mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 08:56:11 +00:00
format
This commit is contained in:
@@ -696,7 +696,10 @@ update_via_homebrew() {
|
||||
# Redirect brew output to temp file to avoid interfering with spinner
|
||||
# Store exit code in a separate file to avoid wait issues with zsh
|
||||
brew_exit_file="${brew_tmp_file}.exit"
|
||||
(brew update > "$brew_tmp_file" 2>&1 </dev/null; echo $? > "$brew_exit_file") &
|
||||
(
|
||||
brew update > "$brew_tmp_file" 2>&1 < /dev/null
|
||||
echo $? > "$brew_exit_file"
|
||||
) &
|
||||
brew_pid=$!
|
||||
local elapsed=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user