Skip to content

Commit

Permalink
Logging a warning when an expected image file is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tails-developers authored and daniel-baumann committed Apr 29, 2015
1 parent 48fc69f commit b6c5221
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/9990-overlay.sh
Expand Up @@ -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
Expand Down

0 comments on commit b6c5221

Please sign in to comment.