From eedcd9921a41513cf64655adcf531c26485cded3 Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@lyda.ie>
Date: Wed, 14 May 2025 11:01:49 +0100
Subject: [PATCH] Don't use 'this' module for batch commands.

---
 main.go | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/main.go b/main.go
index 23781ce..dca4e18 100644
--- a/main.go
+++ b/main.go
@@ -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":
-- 
GitLab