Commit b6c5221a authored by Tails developers's avatar Tails developers Committed by Daniel Baumann

Logging a warning when an expected image file is missing.

parent 48fc69f2
...@@ -117,6 +117,8 @@ setup_unionfs () ...@@ -117,6 +117,8 @@ setup_unionfs ()
log_begin_msg "Mounting \"${image}\" on \"${mpoint}\" via \"${backdev}\"" 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}" mount -t "${fstype}" -o ro,noatime "${backdev}" "${mpoint}" || panic "Can not mount ${backdev} (${image}) on ${mpoint}"
log_end_msg 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 fi
done done
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment