cookutils 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 | 5ad8b449458a |
children | dab2c8b677a9 |
files | cook |
line diff
1.1 --- a/cook Sat Jan 04 14:23:21 2014 +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