summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2008-09-15 16:27:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commit268c4f38f81263be2cf7a400b30008cf214bc619 (patch)
tree055400125e600c714e58a9d68e9990d68b010901 /scripts
parent2910ae281a07441f55215ca74ec38f1d499420f2 (diff)
downloadlive-boot-268c4f38f81263be2cf7a400b30008cf214bc619.tar.gz
live-boot-268c4f38f81263be2cf7a400b30008cf214bc619.zip
Added a pretty vital mount debug string.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 5744998..418a854 100755
--- a/scripts/live
+++ b/scripts/live
@@ -844,7 +844,7 @@ do_snap_copy ()
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