@@ -51,12 +51,8 @@ is_password_valid
get_domain_values 'web'
# Defining ftp user shell
-if [ -z "$FTP_SHELL" ]; then
- shell='/sbin/nologin'
- if [ -e "/usr/bin/rssh" ]; then
- shell='/usr/bin/rssh'
- fi
-else
+shell='/sbin/nologin'
+if [ ! -z "$FTP_SHELL" ]; then
shell=$FTP_SHELL
fi