mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
commit
5bc41a92fe
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ sed -i "/ $user$/d" $VESTA/data/queue/traffic.pipe
|
|||
|
||||
# Deleting system user
|
||||
/usr/sbin/userdel -f $user >> /dev/null 2>&1
|
||||
/usr/sbin/userdel -f $user >> /dev/null 2>&1
|
||||
|
||||
if [ "$?" != 0 ]; then
|
||||
sed -i "/^$user:/d" /etc/passwd
|
||||
sed -i "/^$user:/d" /etc/shadow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue