Depends on the shareholding. If it's 51 49 one can outvote the other
If it's 50 50 then there's a problem (never a good idea IMO to have a 50 50). If it is 50 50 then the shareholder agreement should have provision for what happens in a tied vote. If it doesn't then you have a problem. Worst...