This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch feature/mate-minidesktop in repository live-build-x2go. commit 584b9a922e459836def43a299637fee3427434ee Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 2 09:36:51 2017 +0100 added some status messages and error checking --- .../lib/live/config/2300-live-autoupdate | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2300-live-autoupdate b/config/includes.chroot/lib/live/config/2300-live-autoupdate index 520b1a3..62afd3c 100755 --- a/config/includes.chroot/lib/live/config/2300-live-autoupdate +++ b/config/includes.chroot/lib/live/config/2300-live-autoupdate @@ -110,7 +110,12 @@ if [ -n "$NTFSROOT" ]; then fi fi - mount -t ntfs-3g -rw /dev/disk/by-uuid/$NTFSROOT /lib/live/mount/ntfsroot + if mount -t ntfs-3g -rw /dev/disk/by-uuid/$NTFSROOT /lib/live/mount/ntfsroot ; then + echo "Mounted '/dev/disk/by-uuid/$NTFSROOT'." + else + echo "Unable to mount '/dev/disk/by-uuid/$NTFSROOT'." + fi + # TODO: Further error handling MOUNTPOINT="/lib/live/mount/ntfsroot/" # create a temporary directory TEMPDIR=$(mktemp -d --tmpdir=$MOUNTPOINT) @@ -399,9 +404,17 @@ fi # now, change mount back to ro and sync # if [ -n "$NTFSROOT" ]; then - umount $MOUNTPOINT + if umount $MOUNTPOINT; then + echo "Unmounted '$MOUNTPOINT'." + else + echo "Unable to unmount '$MOUNTPOINT'." + fi else - mount -oremount,ro,sync $MOUNTPOINT + if mount -oremount,ro,sync $MOUNTPOINT; then + echo "Remounted '$MOUNTPOINT' ro and sync." + else + echo "Unable to remount '$MOUNTPOINT' ro and sync." + fi fi ) & -- Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git