Fix: test operator

This commit is contained in:
Blade of Darkness 2022-03-30 19:15:38 +02:00
parent 8c672caabf
commit 6936609ff1
1 changed files with 2 additions and 2 deletions

4
rmuser
View File

@ -17,8 +17,8 @@ else
if [ -n $2 ]
then
[[ $2 == --backup ]] && backup_user_data $1
[[ $2 == --banned ]] && echo $1 | sudo tee -a $BANNED
[ "$2" = "--backup" ] && backup_user_data $1
[ "$2" = "--banned" ] && echo $1 | sudo tee -a $BANNED
fi
remove_user $1