get ready for saving the keys

This commit is contained in:
idk 2018-12-25 01:55:24 -05:00
parent 75d32ae82d
commit 842be5eadd
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
3 changed files with 8 additions and 7 deletions

View file

@ -8,9 +8,8 @@ import (
)
import (
"github.com/eyedeekay/sam-forwarder/config"
//"github.com/eyedeekay/samcatd-web"
"github.com/eyedeekay/eeproxy/socks"
"github.com/eyedeekay/sam-forwarder/config"
)
type flagOpts []string
@ -138,7 +137,7 @@ func main() {
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt)
if tunsocks, tunerr := tunmanager.NewManager(config.SamHost, config.SamPort, config.Print(), config.SaveDirectory); tunerr == nil {
if tunsocks, tunerr := tunmanager.NewManager(config.SamHost, config.SamPort, config.SaveDirectory, config.Print()); tunerr == nil {
go func() {
for sig := range c {
if sig == os.Interrupt {