Skip to content

Commit

Permalink
misty: Improved comment
Browse files Browse the repository at this point in the history
  • Loading branch information
a-vogel committed Aug 14, 2024
1 parent 18be8d9 commit 29d61dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misty/payload/usr/local/wycomco/misty
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ download_macos() {
# Reduce output, but output progress of single steps for interactive run
mist download installer $os_major application --application-name "Install macOS $os_nice.app" --force | tee >(grep 'There is a mist update available') | grep '\[ [1-9][0-9]* \/ [1-9][0-9]* \]'
else
# If invoked by launchd, only print error messages to StandardErrorPath
# If invoked by launchd, only print error messages to StandardErrorPath and update informations on mist-cli to StandardOutPath
mist download installer $os_major application --application-name "Install macOS $os_nice.app" --force 2>> /var/log/misty_error.log | while read -r line; do
if echo "$line" | grep -q 'There is a mist update available'; then
echo "$line" >> /var/log/misty.log
Expand Down

0 comments on commit 29d61dd

Please sign in to comment.