| Index: ct/go/worker_scripts/capture_archives/main.go
|
| diff --git a/ct/go/worker_scripts/capture_archives/main.go b/ct/go/worker_scripts/capture_archives/main.go
|
| index b622ce104f92744c3b4f481e2350025643a395e0..15e11f7635edc13468651e7f4a35f08e79ac402f 100644
|
| --- a/ct/go/worker_scripts/capture_archives/main.go
|
| +++ b/ct/go/worker_scripts/capture_archives/main.go
|
| @@ -38,6 +38,11 @@ func main() {
|
| return
|
| }
|
|
|
| + // Reset the local chromium checkout.
|
| + if err := util.ResetCheckout(util.ChromiumSrcDir); err != nil {
|
| + glog.Errorf("Could not reset %s: %s", util.ChromiumSrcDir, err)
|
| + return
|
| + }
|
| // Sync the local chromium checkout.
|
| if err := util.SyncDir(util.ChromiumSrcDir); err != nil {
|
| glog.Errorf("Could not gclient sync %s: %s", util.ChromiumSrcDir, err)
|
|
|