From c9620d5d18b749035f973a7c6eb5407ad420254c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Mon, 21 Nov 2022 22:46:36 +0100 Subject: [PATCH] grub-btrfs: Change syntax error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 41_snapshots-btrfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index e39f31c..8429267 100755 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -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