mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
changed stop message
This commit is contained in:
@@ -26,10 +26,5 @@ rm -rf ~/utils ~/image-generation
|
||||
# Erase all indexes and wait until the rebuilding process ends,
|
||||
# for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish
|
||||
sudo mdutil -E /
|
||||
|
||||
sudo log stream | while true; do
|
||||
if read -rt5 && [[ $REPLY =~ "Unlinked journal" ]]; then
|
||||
echo "indexing completed"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
sudo log stream | grep -q -E 'mds.*Released.*BackgroundTask'
|
||||
echo "Indexing completed"
|
||||
Reference in New Issue
Block a user