email already in setenv as ADMIN_EMAIL

This commit is contained in:
Blade of Darkness 2019-12-12 20:28:16 +00:00
parent 9026f181f8
commit de5d356d9c
1 changed files with 2 additions and 1 deletions

3
rmuser
View File

@ -19,4 +19,5 @@ sudo rm -rf /home/$1
echo "Deleting account from system..."
sudo userdel $1
echo "User $1 removed from system. Make sure user is unenforced in ansible." | sudo mail -s "User Account $1 removed from Thunix" root@thunix.net
echo "User $1 removed from system. Make sure user is unenforced in ansible." | sudo mail -s "User Account $1 removed from Thunix" $ADMIN_EMAIL