zolrath / wemux

Multi-User Tmux Made Easy
MIT License
3.63k stars 139 forks source link

Fix issue #66 #67

Open rlue opened 6 years ago

rlue commented 6 years ago

Decided not to rest on my laurels and just went ahead and fixed it.

WARNING: I'm new to wemux and haven't tested all the edge cases. All I did was go through and replace all non-zero (and non-1) return statements with exit, and redirect any preceding echos to STDERR. There were a couple return 1 statements that are only function returns and shouldn't exit out of the program (as far as I can tell).

Please give this a very critical eye before merging. Thanks for an awesome utility.