add a howto to use SFTPGo as OpenSSH's SFTP subsystem

This commit is contained in:
Nicola Murino
2021-07-31 19:09:09 +02:00
parent 0046c9960a
commit 1e9a19e326
4 changed files with 238 additions and 2 deletions

View File

@@ -99,8 +99,8 @@ func (s *Service) Start() error {
os.Exit(1)
}
if err := plugin.Initialize(config.GetPluginsConfig(), s.LogVerbose); err != nil {
logger.Error(logSender, "", "unable to initialize plugin: %v", err)
logger.ErrorToConsole("unable to initialize plugin: %v", err)
logger.Error(logSender, "", "unable to initialize plugin system: %v", err)
logger.ErrorToConsole("unable to initialize plugin system: %v", err)
os.Exit(1)
}