mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Update count_limit_snap arithmetic
* Update count_limit_snap arithmetic: * "$" isn't required in an arithmetic function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user