r91641 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91640‎ | r91641 | r91642 >
Date:14:41, 7 July 2011
Author:ariel
Status:reverted
Tags:
Comment:
update script to check for truncated bz2s, to conform with exit code from updated program
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 [ $? -ne 0 ]; 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 [ $? -eq 255 ]; then echo {} >> /backups-atg/truncated.files; fi' \;

Follow-up revisions

RevisionCommit summaryAuthorDate
r91643grrr, brain death syndrome strikes again, reverting 91641ariel15:04, 7 July 2011

Status & tagging log