From 6bb7601ef4a4eb0e421ade4ae810bb5aff2b4ddc Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Fri, 16 Dec 2016 14:32:50 +0800 Subject: [PATCH] fix logical --- obfssh_client/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obfssh_client/ssh.go b/obfssh_client/ssh.go index 39c9fa5..0f81469 100644 --- a/obfssh_client/ssh.go +++ b/obfssh_client/ssh.go @@ -39,7 +39,7 @@ func main() { flag.Parse() if configfile != "" { - if err := loadConfig(&cfg, configfile); err == nil { + if err := loadConfig(&cfg, configfile); err != nil { log.Fatal(err) } }