aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2017-08-09 08:07:59 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2017-08-09 08:07:59 -0400
commit814524dc65a06d34f9f9f4ca36487365ca0eece3 (patch)
tree652ccf83b4826d84efe1758f98b6b2f44763fc01
parentadd in a debug shell to make troubleshooting easier (diff)
downloadgenkernel-814524dc65a06d34f9f9f4ca36487365ca0eece3.tar.gz
genkernel-814524dc65a06d34f9f9f4ca36487365ca0eece3.tar.bz2
genkernel-814524dc65a06d34f9f9f4ca36487365ca0eece3.zip
add module success message in the right place for overlayfs
-rw-r--r--defaults/initrd.scripts6
1 files changed, 5 insertions, 1 deletions
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"