fix for aditional ftp accounts

This commit is contained in:
Serghey Rodin 2016-12-08 16:20:48 +02:00
commit 039a989fb2
5 changed files with 11 additions and 2 deletions

View file

@ -51,7 +51,7 @@ is_password_valid
get_domain_values 'web'
# Defining ftp user shell
shell='/sbin/nologin'
shell=$(which nologin)
if [ ! -z "$FTP_SHELL" ]; then
shell=$FTP_SHELL
fi