adduser fix (return if exists, instead of exit)

pull/1/head
bedefaced 8 years ago
parent b8c191c0ff
commit fe4011ba59
  1. 3
      ipsec/adduser.sh
  2. 3
      pptp/adduser.sh

@ -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…
Cancel
Save