r91643 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91642‎ | r91643 | r91644 >
Date:15:04, 7 July 2011
Author:ariel
Status:ok
Tags:
Comment:
grrr, brain death syndrome strikes again, reverting 91641
Modified paths:
  • /branches/ariel/xmldumps-backup/checkfortruncatedbz2s.sh (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/checkfortruncatedbz2s.sh
@@ -1,3 +1,3 @@
22 #!/bin/bash
33 rm -f /backups-atg/truncated.files
4 -find /mnt/data/xmldatadumps/public -name \*bz2 -a -type f -exec sh -c '/backups-atg/checkforbz2footer {}; if [ $? -eq 255 ]; then echo {} >> /backups-atg/truncated.files; fi' \;
 4+find /mnt/data/xmldatadumps/public -name \*bz2 -a -type f -exec sh -c '/backups-atg/checkforbz2footer {}; if [ $? -ne 0 ]; then echo {} >> /backups-atg/truncated.files; fi' \;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91641update script to check for truncated bz2s, to conform with exit code from upd...ariel14:41, 7 July 2011

Status & tagging log