From d825ea5d13b3c689d429b47d39aa6f8055a68739 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 10 Apr 2019 10:42:43 -0700 Subject: [PATCH] no output at all Signed-off-by: Jeff Carr --- connect-to-wifi/main.go | 1 + get-image/main.go | 1 + 2 files changed, 2 insertions(+) diff --git a/connect-to-wifi/main.go b/connect-to-wifi/main.go index 1ab4807..5675214 100644 --- a/connect-to-wifi/main.go +++ b/connect-to-wifi/main.go @@ -24,6 +24,7 @@ func dhclient() { for { fmt.Print(" should check progress here") time.Sleep(20000 * time.Millisecond) + return } } diff --git a/get-image/main.go b/get-image/main.go index 327e5ee..5d7d905 100644 --- a/get-image/main.go +++ b/get-image/main.go @@ -82,6 +82,7 @@ func succeeded () { log.Println("") shell.Run("dialog --ascii-lines --msgbox 'Flash_Image_Completed' 10 70") + shell.Run("poweroff") os.Exit(0) }