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