commit:     814524dc65a06d34f9f9f4ca36487365ca0eece3
Author:     Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 12:07:59 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 12:07:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=814524dc

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 bd3d85e..5c73bfc 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"

Reply via email to