fixed err problem

This commit is contained in:
Saxon Milton 2016-11-04 09:07:56 +10:30
parent dbde36d23a
commit ed42d6746c
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ func (r *revidInst) packClips() {
func reboot() { func reboot() {
cmd := exec.Command("sudo", "reboot") cmd := exec.Command("sudo", "reboot")
err := cmd.Run() err := cmd.Run()
fmt.Println(err)
fmt.Println("Rebooting!") fmt.Println("Rebooting!")
} }