1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-09 13:44:17 +00:00

feat: Skip TimeMachine cleaning if running

This commit is contained in:
Jack Phallen
2026-01-10 17:37:29 -05:00
parent d45423df94
commit c0f76936cd
3 changed files with 59 additions and 1 deletions

View File

@@ -125,6 +125,8 @@ tmutil() {
}
start_section_spinner(){ :; }
stop_section_spinner(){ :; }
tm_is_running(){ return 1; }
tm_snapshots_mounted(){ return 1; }
DRY_RUN="false"
clean_local_snapshots
@@ -154,6 +156,8 @@ tmutil() {
start_section_spinner(){ :; }
stop_section_spinner(){ :; }
note_activity(){ :; }
tm_is_running(){ return 1; }
tm_snapshots_mounted(){ return 1; }
DRY_RUN="true"
clean_local_snapshots
@@ -188,6 +192,8 @@ tmutil() {
start_section_spinner(){ :; }
stop_section_spinner(){ :; }
note_activity(){ :; }
tm_is_running(){ return 1; }
tm_snapshots_mounted(){ return 1; }
unset -f read_key