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

@ -268,7 +268,7 @@ rebuild_web_domain_conf() {
# Adding ftp users
if [ -z "$FTP_SHELL" ]; then
shell='/sbin/nologin'
shell=$(which nologin)
if [ -e "/usr/bin/rssh" ]; then
shell='/usr/bin/rssh'
fi