try to load nocui when panic() in gocui
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
25033569e7
commit
4085634578
6
Makefile
6
Makefile
|
@ -22,11 +22,13 @@ stderr: build
|
||||||
|
|
||||||
log:
|
log:
|
||||||
reset
|
reset
|
||||||
tail -f /tmp/witgui.* /tmp/guilogfile
|
tail -f /tmp/guilogfile /tmp/witgui.* /tmp/gadget*
|
||||||
|
|
||||||
gocui: build
|
gocui: build
|
||||||
reset
|
reset
|
||||||
./control-panel-dns --gui gocui --tmp-log
|
# ./control-panel-dns --gui gocui --tmp-log >/tmp/witgui.log.stderr 2>&1
|
||||||
|
# ./control-panel-dns --gui gocui
|
||||||
|
./control-panel-dns --gui gocui >/tmp/witgui.log.stderr 2>&1
|
||||||
|
|
||||||
check-git-clean:
|
check-git-clean:
|
||||||
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
|
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
|
||||||
|
|
3
main.go
3
main.go
|
@ -122,6 +122,9 @@ func main() {
|
||||||
me.statusOS.SetSpeedActual(s)
|
me.statusOS.SetSpeedActual(s)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// show internal gui toolkit stats
|
||||||
|
go gui.Watchdog()
|
||||||
|
|
||||||
// check the four known things to see if they are all WORKING
|
// check the four known things to see if they are all WORKING
|
||||||
myTicker(10*time.Second, "MAIN LOOP", func() {
|
myTicker(10*time.Second, "MAIN LOOP", func() {
|
||||||
var working bool = true
|
var working bool = true
|
||||||
|
|
Loading…
Reference in New Issue