Unverified Commit eedcd992 authored by Kevin Lyda's avatar Kevin Lyda
Browse files

Don't use 'this' module for batch commands.

parent cd0a4b47
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -46,11 +46,6 @@ func main() {
					fmt.Println("ERROR: can only run batch commands as SYSTEM.")
					os.Exit(1)
				}
				err := this.StartThis(user, cmd.String("name"))
				if err != nil {
					fmt.Printf("ERROR: %s.", err)
					os.Exit(1)
				}
				exitcode := 0
				switch batchFlag {
				case "reboot":