Explorar el Código

重命名sshd模块的配置文件

niujiuru hace 3 semanas
padre
commit
e8e133e2f7
Se han modificado 2 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      sshd/server/server.go
  2. 0 0
      sshd/server/sshd_cfg.ini

+ 1 - 1
sshd/server/server.go

@@ -27,7 +27,7 @@ var (
 )
 
 func loadCfgServers() error {
-	cfgFile := filepath.Join(baseapp.CFG_DIR, "config.ini")
+	cfgFile := filepath.Join(baseapp.CFG_DIR, "sshd_cfg.ini")
 	cfgIni, err := ini.Load(cfgFile)
 	if err != nil {
 		return err

sshd/server/config.ini → sshd/server/sshd_cfg.ini