adduser fix (return if exists, instead of exit)
This commit is contained in:
parent
eaf01d91ad
commit
207e16a920
@ -41,7 +41,8 @@ do
|
||||
: ${ANSREM:=$NOTREM}
|
||||
|
||||
if [ "$NOTREM" == "$ANSREM" ]; then
|
||||
exit 1
|
||||
unset LOGIN PASSWORD
|
||||
continue
|
||||
else
|
||||
$DIR/deluser.sh $LOGIN
|
||||
DELETED=1
|
||||
|
||||
@ -41,7 +41,8 @@ do
|
||||
: ${ANSREM:=$NOTREM}
|
||||
|
||||
if [ "$NOTREM" == "$ANSREM" ]; then
|
||||
exit 1
|
||||
unset LOGIN PASSWORD
|
||||
continue
|
||||
else
|
||||
$DIR/deluser.sh $LOGIN
|
||||
DELETED=1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user