mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-12 17:47:41 -07:00
dubbel line removed
Line 93 & 94 are the same: /usr/sbin/userdel -f $user >> /dev/null 2>&1
This commit is contained in:
parent
7a9c937ca1
commit
6ac1253bbf
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