summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2014-12-16 14:09:55 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-04-29 06:37:40 +0200
commitb6c5221a9c9b2c2020ba1b53ff618cf972d1b2f8 (patch)
treef20d4395c75fc458174e2d3ea752a34f087c9ef3 /components
parent48fc69f2ba8b347e3216649fd895918743d05024 (diff)
downloadlive-boot-b6c5221a9c9b2c2020ba1b53ff618cf972d1b2f8.tar.gz
live-boot-b6c5221a9c9b2c2020ba1b53ff618cf972d1b2f8.zip
Logging a warning when an expected image file is missing.
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/9990-overlay.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh
index 9282276..a64c78b 100755
--- a/components/9990-overlay.sh
+++ b/components/9990-overlay.sh
@@ -117,6 +117,8 @@ setup_unionfs ()
log_begin_msg "Mounting \"${image}\" on \"${mpoint}\" via \"${backdev}\""
mount -t "${fstype}" -o ro,noatime "${backdev}" "${mpoint}" || panic "Can not mount ${backdev} (${image}) on ${mpoint}"
log_end_msg
+ else
+ log_warning_msg "Could not find image '${image}'. Most likely it is listed in a .module file, perhaps by mistake."
fi
done
else