mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
fixed path in user delete function
This commit is contained in:
parent
2294a0705f
commit
2b07689842
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ if [ ! -z "$statp" ]; then
|
|||
fi
|
||||
|
||||
# Removing system user
|
||||
userdel -f $user
|
||||
/usr/sbin/userdel -f $user
|
||||
rm -rf $V_HOME/$user
|
||||
rm -f /var/spool/mail/$user
|
||||
rm -f /var/spool/cron/$user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue