From aca0f66688bb899faf63ae79fe38f8ff4c507ac9 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Wed, 31 Dec 2025 02:25:09 +0000 Subject: [PATCH] chore: auto format code --- lib/clean/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clean/system.sh b/lib/clean/system.sh index 5960ab5..8ab8488 100644 --- a/lib/clean/system.sh +++ b/lib/clean/system.sh @@ -301,7 +301,7 @@ clean_local_snapshots() { [[ ${#snapshots[@]} -eq 0 ]] && return 0 [[ -z "$newest_name" ]] && return 0 - local deletable_count=$(( ${#snapshots[@]} - 1 )) + local deletable_count=$((${#snapshots[@]} - 1)) [[ $deletable_count -le 0 ]] && return 0 if [[ "$DRY_RUN" != "true" ]]; then