Fix: test operator

master
Blade of Darkness 8 months ago
parent 8c672caabf
commit 6936609ff1
  1. 4
      rmuser

@ -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