Now, that is really strange. Is maybe your sudo already an alias for doas by any chance? Could you run the following in your terminal, for example?
$ whichsudo
It should either say sudo: aliased to doas, or something like /usr/bin/sudo. The former would confirm my suspicions, that you have sudo aliased to doas already, the latter would mean you call the normal sudo command.
I honestly don’t know lol. I did really just Alias sudo.
Now, that is really strange. Is maybe your
sudoalready an alias fordoasby any chance? Could you run the following in your terminal, for example?$ which sudoIt should either say
sudo: aliased to doas, or something like/usr/bin/sudo. The former would confirm my suspicions, that you havesudoaliased todoasalready, the latter would mean you call the normalsudocommand.