From 814524dc65a06d34f9f9f4ca36487365ca0eece3 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Wed, 9 Aug 2017 08:07:59 -0400 Subject: add module success message in the right place for overlayfs --- defaults/initrd.scripts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index bd3d85e1..5c73bfc8 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -359,7 +359,11 @@ union_insert_modules() { for module in "$1/"*.lzm; do if [ 1 = "$overlayfs" ];then - union_mod overlayfs "$module" || bad_msg "Unable to insert module: '$module'" + if union_mod overlayfs "$module";then + good_msg "Addition of '$module' to overlay successful" + else + bad_msg "Unable to insert module: '$module'" + fi # Used in setup_overlayfs() mod_path="$mod_path:$mod_dir/.$mod" -- cgit v1.2.3-65-gdbad