]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Improving rsync-check output
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 9 May 2011 20:47:59 +0000 (17:47 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 9 May 2011 20:47:59 +0000 (17:47 -0300)
templates/rsync-check.sh.erb

index d7ab759e9e5bd22bea5b7e67a1abff1faf2f8c7d..419f9a9181d79c76f3b13750e3c47a57c35fc77a 100644 (file)
@@ -21,9 +21,10 @@ if [ -e "$BACKUP_FOLDER" ]; then
 
     # Check rsync metadata
     if [ ! -z "$metadatas" ]; then
+      echo "Available dates"
+      echo "======================================================"
       for metadata in $metadatas; do
-        echo $metadata
-        cat  $metadata
+        cat $metadata
       done
     fi