mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 06:14:19 -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
|
fi
|
||||||
|
|
||||||
# Removing system user
|
# Removing system user
|
||||||
userdel -f $user
|
/usr/sbin/userdel -f $user
|
||||||
rm -rf $V_HOME/$user
|
rm -rf $V_HOME/$user
|
||||||
rm -f /var/spool/mail/$user
|
rm -f /var/spool/mail/$user
|
||||||
rm -f /var/spool/cron/$user
|
rm -f /var/spool/cron/$user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue