mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 19:05:07 +00:00
chore: auto format code
This commit is contained in:
@@ -1031,8 +1031,8 @@ check_large_file_candidates() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${SYSTEM_CLEAN:-false}" != "true" ]] && command -v tmutil > /dev/null 2>&1 \
|
if [[ "${SYSTEM_CLEAN:-false}" != "true" ]] && command -v tmutil > /dev/null 2>&1 &&
|
||||||
&& defaults read /Library/Preferences/com.apple.TimeMachine AutoBackup 2> /dev/null | grep -qE '^[01]$'; then
|
defaults read /Library/Preferences/com.apple.TimeMachine AutoBackup 2> /dev/null | grep -qE '^[01]$'; then
|
||||||
local snapshot_list snapshot_count
|
local snapshot_list snapshot_count
|
||||||
snapshot_list=$(run_with_timeout 3 tmutil listlocalsnapshots / 2> /dev/null || true)
|
snapshot_list=$(run_with_timeout 3 tmutil listlocalsnapshots / 2> /dev/null || true)
|
||||||
if [[ -n "$snapshot_list" ]]; then
|
if [[ -n "$snapshot_list" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user