Commit f8d64309 authored by Daniel STAN's avatar Daniel STAN

uncache: abort si reflink failed

parent 0b90d11f
......@@ -40,7 +40,7 @@ fi;
cd $p
mkdir -p `dirname $DEST` || { echo "aborting."; exit 4; }
cp -r -b --reflink=always $suff $DEST
cp -r -b --reflink=always $suff $DEST || { echo "aborting."; exit 5; }
mv $suff $suff-old
echo "$suff a été renommé en $suff-old (supprimez-le si tout va bien)"
ln -s $back$DEST $suff
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment