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 @@
2
2
#!/bin/bash
3
3
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
Revision
Commit summary
Author
Date
r91643
grrr, brain death syndrome strikes again, reverting 91641
ariel
15:04, 7 July 2011
Status & tagging log
15:09, 7 July 2011
😂
(
talk
|
contribs
)
changed the
status
of r91641
[
removed:
new
added:
reverted]