mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-24 05:41:43 +02:00
Shell timeout log only every 10 seconds
This commit is contained in:
@@ -1077,7 +1077,9 @@ func taskStartShell(args taskStartShellArgs) string {
|
||||
utils.WriteOption("SHELL_STATUS", "not_running")
|
||||
break
|
||||
}
|
||||
fmt.Println("Active Shell Timeout is " + fmt.Sprint(timeout) + " seconds")
|
||||
if timeout%10 == 0 {
|
||||
fmt.Println("Active Shell Timeout is " + fmt.Sprint(timeout) + " seconds")
|
||||
}
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user