~mterry/snappy/selftest-reboot-notice

« back to all changes in this revision

Viewing changes to cmd/snappy/cmd_hwunassign.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/snappy"
28
27
)
29
28
 
49
48
}
50
49
 
51
50
func (x *cmdHWUnassign) Execute(args []string) error {
52
 
        return priv.WithMutex(x.doHWUnassign)
 
51
        return withMutex(x.doHWUnassign)
53
52
}
54
53
 
55
54
func (x *cmdHWUnassign) doHWUnassign() error {