Skip to content

Commit

Permalink
grub-btrfs: Change syntax error message
Browse files Browse the repository at this point in the history
I noticed that this is confusing in #230, user would search for errors in
the grub-btrfs.cfg file although the old grub-btrfs.cfg file is never
overwritten with grub-btrfs.new

Signed-off-by: Pascal Jäger <[email protected]>
  • Loading branch information
Schievel1 committed Nov 21, 2022
1 parent 33810a9 commit c9620d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ submenu '${submenuname}' ${protection_authorized_users}${unrestricted_access_sub
}
EOF
else
print_error "Syntax errors are detected in generated grub-btrfs.cfg file."
print_error "Syntax errors were detected in generated ${grub_directory}/grub-btrfs.new file. Old grub-btrfs.cfg (if present) was not replaced."
fi

# warn when this script is run but there is no entry in grub.cfg
Expand Down

0 comments on commit c9620d5

Please sign in to comment.