~chipaca/snappy/snappy-tar-pack-mknod

« back to all changes in this revision

Viewing changes to snappy/systemimage.go

  • Committer: Michael Vogt
  • Date: 2015-02-13 13:29:27 UTC
  • mfrom: (171 snappy)
  • mto: This revision was merged to the branch mainline in revision 172.
  • Revision ID: michael.vogt@ubuntu.com-20150213132927-5eyg71l1yysvw6ul
mergedĀ lp:snappy

Show diffs side-by-side

added added

removed removed

Lines of Context:
369
369
                break
370
370
        case _ = <-s.updateFailed.C:
371
371
                return errors.New("updateFailed")
372
 
                break
373
372
        }
374
373
        return nil
375
374
}
385
384
                s.ApplyUpdate()
386
385
        case _ = <-s.updateFailed.C:
387
386
                return errors.New("downloadFailed")
388
 
                break
389
387
        }
390
388
 
391
389
        return err
483
481
        defer f.Close()
484
482
        err = cfg.Read(f)
485
483
        if err != nil {
486
 
                log.Printf("Can not parse config '%s': err", path, err)
 
484
                log.Printf("Can not parse config '%s': %s", path, err)
487
485
                return part, err
488
486
        }
489
487