Skip to content

Commit

Permalink
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
Browse files Browse the repository at this point in the history
=== 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 ^^^
  • Loading branch information
yarikoptic committed Dec 22, 2023
1 parent 25a9876 commit abd2889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grub-btrfsd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit abd2889

Please sign in to comment.