Fix some spelling errors
This commit is contained in:
parent
5d3a93baae
commit
eb18e30a65
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ Full featured and highly configurable SFTP server software
|
|||
|
||||
- Each account is chrooted to his Home Dir
|
||||
- SFTP accounts are virtual accounts stored in a "data provider"
|
||||
- SQLite, MySQL and PostgreSQL data providers are supported. The `Provider` interface could be extented to support non SQL backends too
|
||||
- SQLite, MySQL and PostgreSQL data providers are supported. The `Provider` interface could be extended to support non SQL backends too
|
||||
- Public key and password authentication
|
||||
- Quota support: accounts can have individual quota expressed as max number of files and max total size
|
||||
- Bandwidth throttling is supported, with distinct settings for upload and download
|
||||
|
@ -199,4 +199,4 @@ Some code was initially taken from [Pterodactyl sftp server](https://github.com/
|
|||
|
||||
## License
|
||||
|
||||
GNU GPLv3
|
||||
GNU GPLv3
|
||||
|
|
|
@ -21,12 +21,12 @@ func initializeSQLiteProvider(basePath string) error {
|
|||
dbPath := filepath.Join(basePath, config.Name)
|
||||
fi, err := os.Stat(dbPath)
|
||||
if err != nil {
|
||||
logger.Warn(logSender, "sqlite database file does not exists, please be sure to create and inizialiaze"+
|
||||
logger.Warn(logSender, "sqlite database file does not exists, please be sure to create and initialize"+
|
||||
" a database before starting sftpgo")
|
||||
return err
|
||||
}
|
||||
if fi.Size() == 0 {
|
||||
return errors.New("sqlite database file is invalid, please be sure to create and inizialiaze" +
|
||||
return errors.New("sqlite database file is invalid, please be sure to create and initialize" +
|
||||
" a database before starting sftpgo")
|
||||
}
|
||||
connectionString = fmt.Sprintf("file:%v?cache=shared", dbPath)
|
||||
|
|
Loading…
Reference in a new issue