parent
183ff58f8e
commit
9ed38fd2b8
|
@ -7,12 +7,10 @@ import "net"
|
||||||
import "fmt"
|
import "fmt"
|
||||||
import "bufio"
|
import "bufio"
|
||||||
|
|
||||||
import "github.com/svent/go-nbreader"
|
import "git.wit.com/wit/shell"
|
||||||
|
|
||||||
import "git.wit.com/jcarr/dnssecsocket"
|
import "git.wit.com/jcarr/dnssecsocket"
|
||||||
|
|
||||||
import "git.wit.com/wit/shell"
|
//import "github.com/svent/go-nbreader"
|
||||||
|
|
||||||
// import "github.com/gookit/config"
|
// import "github.com/gookit/config"
|
||||||
// import "git.wit.com/wit/gui"
|
// import "git.wit.com/wit/gui"
|
||||||
|
|
||||||
|
@ -75,7 +73,6 @@ func socketToWIT(myhostname string) {
|
||||||
// send the command over the socket socket
|
// send the command over the socket socket
|
||||||
a, err := conn.Write([]byte(string(text + "\n")))
|
a, err := conn.Write([]byte(string(text + "\n")))
|
||||||
|
|
||||||
// a, err := connStdin.Write([]byte(string(text + "\n")))
|
|
||||||
if (err != nil) {
|
if (err != nil) {
|
||||||
fmt.Println("SOCKET DIED with err=", err, a)
|
fmt.Println("SOCKET DIED with err=", err, a)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue