mirror of https://bitbucket.org/ausocean/av.git
fixed err problem
This commit is contained in:
parent
dbde36d23a
commit
ed42d6746c
|
@ -330,6 +330,7 @@ func (r *revidInst) packClips() {
|
|||
func reboot() {
|
||||
cmd := exec.Command("sudo", "reboot")
|
||||
err := cmd.Run()
|
||||
fmt.Println(err)
|
||||
fmt.Println("Rebooting!")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue