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 @@
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 [ $? -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
Revision
Commit summary
Author
Date
r91641
update script to check for truncated bz2s, to conform with exit code from upd...
ariel
14:41, 7 July 2011
Status & tagging log
15:10, 7 July 2011
😂
(
talk
|
contribs
)
changed the
status
of r91643
[
removed:
new
added:
ok]