mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
fix for ftp change password bug
This commit is contained in:
parent
9f50940055
commit
a3a1ee5138
3 changed files with 9 additions and 33 deletions
|
@ -52,7 +52,7 @@ if [ ! -z "$check_ftp_user" ] && [ "$FTP_USER" != "$ftp_user" ]; then
|
|||
fi
|
||||
|
||||
if [ ! -z "$FTP_USER" ]; then
|
||||
/usr/sbin/userdel $FTP_USER
|
||||
/usr/sbin/userdel -f $FTP_USER
|
||||
fi
|
||||
|
||||
# Adding user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue