Signed-off-by: Marco Amadori <amadorim@vdavda.com>
if [ -n "${fstype}" ]
then
# Copying stuff...
if [ -n "${fstype}" ]
then
# Copying stuff...
- mount -n -t "${fstype}" -o ro,noatime "${fromdev}" "${tomount}"
+ mount -n -t "${fstype}" -o ro,noatime "${fromdev}" "${tomount}" || log_warning_msg "Error in mount -n -t ${fstype} -o ro,noatime ${fromdev} ${tomount}"
cp -a "${tomount}"/* ${todir}
umount "${tomount}"
else
cp -a "${tomount}"/* ${todir}
umount "${tomount}"
else