~mterry/snappy/selftest-reboot-notice

« back to all changes in this revision

Viewing changes to cmd/snappy/cmd_update.go

  • Committer: Snappy Tarmac
  • Author(s): Michael Vogt
  • Date: 2015-06-17 10:12:03 UTC
  • mfrom: (510.2.3 snappy-with-decorator2)
  • Revision ID: snappy_tarmac-20150617101203-6hsfxqrckt6koobw
Adds a "filename" argument to the priv.New() by mvo approved by mvo,chipaca

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        "strings"
27
27
 
28
28
        "launchpad.net/snappy/logger"
29
 
        "launchpad.net/snappy/priv"
30
29
        "launchpad.net/snappy/progress"
31
30
        "launchpad.net/snappy/snappy"
32
31
)
54
53
)
55
54
 
56
55
func (x *cmdUpdate) Execute(args []string) (err error) {
57
 
        return priv.WithMutex(x.doUpdate)
 
56
        return withMutex(x.doUpdate)
58
57
}
59
58
 
60
59
func (x *cmdUpdate) doUpdate() error {