~mterry/snappy/selftest-reboot-notice

« back to all changes in this revision

Viewing changes to cmd/snappy/cmd_remove.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:
23
23
        "fmt"
24
24
 
25
25
        "launchpad.net/snappy/logger"
26
 
        "launchpad.net/snappy/priv"
27
26
        "launchpad.net/snappy/progress"
28
27
        "launchpad.net/snappy/snappy"
29
28
)
43
42
}
44
43
 
45
44
func (x *cmdRemove) Execute(args []string) (err error) {
46
 
        return priv.WithMutex(func() error {
 
45
        return withMutex(func() error {
47
46
                return x.doRemove(args)
48
47
        })
49
48
}