Commit c36b9aa9 authored by Bjoern Nachtwey's avatar Bjoern Nachtwey
Browse files

added grep for last snapshot

parent f4381164
......@@ -33,7 +33,7 @@ cd $wpath/$today
##
# get latest snapshot for SNAPSHOTROOT
ssr=$(ls -d $bpath/.snapshot/snap_daily.$today*)
ssr=$(ls -dt $bpath/.snapshot/snap_daily.$today* | head -n 1)
if [[ ! $ssr ]]
then
echo "no actual daily snapshot" | tee -a ../$today.daily-stats.txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment