just making sure nothing gets deleted

This commit is contained in:
Ville Rantanen
2016-08-02 08:37:40 +03:00
parent 5a8030d905
commit 2cd38b47b7

View File

@@ -105,7 +105,8 @@ trap - 9 15
echo 'Compressing..' echo 'Compressing..'
IFS=" " read -a SLEEPS <<< '0.1 0.5 1 2 3 4 5' IFS=" " read -a SLEEPS <<< '0.1 0.5 1 2 3 4 5'
trap killtrap 9 15 trap killtrap 9 15
set -e
set -o pipefail
for d in "${REALFOLDERS[@]}"; do for d in "${REALFOLDERS[@]}"; do
DU=$( fastdu "$d.tar" ) DU=$( fastdu "$d.tar" )
DUh=$( fastdu -h "$d.tar" ) DUh=$( fastdu -h "$d.tar" )