cookutils diff cook @ rev 628

cook: Aufs mountage failure cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 17:14:38 2014 +0000 (2014-01-05)
parents 411b4c392b46
children 4cee6103d578
line diff
     1.1 --- a/cook	Sat Dec 28 15:37:46 2013 +0000
     1.2 +++ b/cook	Sun Jan 05 17:14:38 2014 +0000
     1.3 @@ -916,7 +916,7 @@
     1.4  		if [ $mnt == / ] && ! mount -t aufs -o br=${base}rw:/ none ${base}root; then
     1.5  			_ "Aufs mountage failure"
     1.6  			umount ${base}root
     1.7 -			rmdir ${base}*
     1.8 +			rm -rf ${base}r*
     1.9  			return
    1.10  		fi
    1.11  		echo "umount ${base}root$mnt" >> ${base}rw/aufs-umount.sh