commit:     1bfce82450579fff8a2771651d4623a8006c6b47
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 19:30:36 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 19:30:36 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1bfce824

gen_funcs.sh: gen_die(): Call restore_boot_mount_state()

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_funcs.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gen_funcs.sh b/gen_funcs.sh
index c042513..3c9c56f 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -352,6 +352,8 @@ gen_die() {
                print_error 1 "Please do ${BOLD}*not*${NORMAL} report 
${BOLD}kernel${NORMAL} compilation failures as genkernel bugs!"
                print_error 1 ''
 
+               restore_boot_mount_state
+
                # Cleanup temp dirs and caches if requested
                cleanup
        fi

Reply via email to