From b6c5221a9c9b2c2020ba1b53ff618cf972d1b2f8 Mon Sep 17 00:00:00 2001 From: Tails developers Date: Tue, 16 Dec 2014 14:09:55 +0100 Subject: Logging a warning when an expected image file is missing. --- components/9990-overlay.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components') 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 -- cgit v1.2.3