diff --git a/shell/sms_ABO.sh b/shell/sms_ABO.sh index 1686a3a..8af0bfa 100755 --- a/shell/sms_ABO.sh +++ b/shell/sms_ABO.sh @@ -21,14 +21,14 @@ case "$SERVICE" in ON) log "Abonnement Kalkun" if [[ "$MEMBER" != "" ]]; then - add_contact $MEMBER $PHONE && log "${c_green}Contact has been added to database$c_" || "${c_red}Contact can't be added to database$c_"; + add_contact $MEMBER $PHONE && log "${c_green}Contact has been added to database$c_" || log "${c_red}Contact can't be added to database$c_"; sms_SEND "$PHONE" "$MEMBER votre inscription annuaire est active" fi ;; OFF) log "Retrait Kalkun" if [[ $MEMBER ]]; then - rm_contact $MEMBER $PHONE && log "${c_green}Contact has been deleted from database$c_" || "${c_red}Contact can't be deleted database$c_"; + rm_contact $MEMBER $PHONE && log "${c_green}Contact has been deleted from database$c_" || log "${c_red}Contact can't be deleted database$c_"; sms_SEND "$PHONE" "$MEMBER retrait annuaire prise en compte..." fi ;;