From ac8b4ee47d111feed9dceaae323603622b8006e1 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Sat, 21 Sep 2024 10:41:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A8=83=E5=A8=83=E6=9C=BA=E5=B1=8F=E8=94=BD?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- machine/machinedoll/machinemgr.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/machine/machinedoll/machinemgr.go b/machine/machinedoll/machinemgr.go index bb41785..5b10bc3 100644 --- a/machine/machinedoll/machinemgr.go +++ b/machine/machinedoll/machinemgr.go @@ -5,7 +5,6 @@ import ( "fmt" "net" "os" - "os/signal" "path/filepath" "time" @@ -254,7 +253,7 @@ func init() { return string(b[:]) }*/ -func waitForUserExit() { +/*func waitForUserExit() { // 创建一个信号通道 signalChan := make(chan os.Signal, 1) @@ -264,4 +263,4 @@ func waitForUserExit() { // 等待用户按下 Ctrl+C 退出 <-signalChan fmt.Println("退出程序...") -} +}*/