The sentence contains a dangling modifier because it suggests that "all the snacks" are making a profit, which is not the intended meaning. The best revision that corrects this issue is:
To make a profit, the club must sell all the snacks.
This revision clearly indicates that it is the club that needs to sell the snacks to achieve a profit, resolving the dangling modifier issue.