From: Tails developers Date: Tue, 16 Dec 2014 13:09:55 +0000 (+0100) Subject: Logging a warning when an expected image file is missing. X-Git-Tag: debian/5.0_a4-1~8 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=b6c5221a9c9b2c2020ba1b53ff618cf972d1b2f8 Logging a warning when an expected image file is missing. --- 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