fix for ftp change password bug

This commit is contained in:
Serghey Rodin 2013-02-14 19:05:12 +02:00
commit a3a1ee5138
3 changed files with 9 additions and 33 deletions

View file

@ -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