From abd2889464f5d006f4ec9c760d1d010931e6f16a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 21 Dec 2023 19:25:10 -0500 Subject: [PATCH] [DATALAD RUNCMD] Do interactive fixing of some ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2 ./grub-btrfsd", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- grub-btrfsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-btrfsd b/grub-btrfsd index df7abef..92a0f01 100755 --- a/grub-btrfsd +++ b/grub-btrfsd @@ -204,7 +204,7 @@ setup() { } create_grub_menu() { - # create the grub submenu of the whole grub menu, depending on wether the submenu already exists + # create the grub submenu of the whole grub menu, depending on whether the submenu already exists # and gives feedback if it worked if grep "snapshots-btrfs" "${GRUB_BTRFS_GRUB_DIRNAME:-/boot/grub}"/grub.cfg; then if /etc/grub.d/41_snapshots-btrfs; then @@ -258,7 +258,7 @@ daemon_function() { set_snapshot_dir log "${BASHPID}: detected Timeshift startup, PID is: $timeshift_pid" "${CYAN}" vlog "${BASHPID}: new snapshots directory is $snapdir" "${CYAN}" - (create_grub_menu) # create the grub menu once immidiatly in a forking process. Snapshots from commandline using timeshift --create need this + (create_grub_menu) # create the grub menu once immediately in a forking process. Snapshots from commandline using timeshift --create need this } fi runs=false