We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44be086 commit 1113e1fCopy full SHA for 1113e1f
bin/v-add-web-domain-ftp
@@ -51,12 +51,8 @@ is_password_valid
51
get_domain_values 'web'
52
53
# Defining ftp user shell
54
-if [ -z "$FTP_SHELL" ]; then
55
- shell='/sbin/nologin'
56
- if [ -e "/usr/bin/rssh" ]; then
57
- shell='/usr/bin/rssh'
58
- fi
59
-else
+shell='/sbin/nologin'
+if [ ! -z "$FTP_SHELL" ]; then
60
shell=$FTP_SHELL
61
fi
62
0 commit comments