Use setenv variable

This commit is contained in:
Blade of Darkness 2021-01-30 09:06:47 +01:00
parent 6ab305d094
commit bc4e2dc31c
1 changed files with 1 additions and 1 deletions

2
rmuser
View File

@ -38,6 +38,6 @@ then
echo -e "Usage: `basename $0` username [ --banned ]"
else
remove_user $1
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 | sudo tee -a /root/users.banned
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 | sudo tee -a $BANNED
fi