From 301752f3008a7c916e910b5a76932e7130a10c24 Mon Sep 17 00:00:00 2001 From: Antynea Date: Thu, 21 Oct 2021 16:59:08 +0200 Subject: [PATCH] Update count_limit_snap arithmetic * Update count_limit_snap arithmetic: * "$" isn't required in an arithmetic function --- 41_snapshots-btrfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index 3e9529f..90626d3 100755 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -502,7 +502,7 @@ boot_bounded() # Make menuentries make_menu_entries ### Limit snapshots found during run "grub-mkconfig" - count_limit_snap=$((1+$count_limit_snap)) + count_limit_snap=$((1+count_limit_snap)) [[ $count_limit_snap -ge $limit_snap_show ]] && break; done IFS=$oldIFS @@ -548,7 +548,7 @@ boot_separate() # Make menuentries make_menu_entries # Limit snapshots found during run "grub-mkconfig" - count_limit_snap=$((1+$count_limit_snap)) + count_limit_snap=$((1+count_limit_snap)) [[ $count_limit_snap -ge $limit_snap_show ]] && break; done IFS=$oldIFS