CVSROOT: /cvs Module name: src Changes by: n...@cvs.openbsd.org 2009/08/07 09:39:11
Modified files: usr.bin/tmux : server-fn.c server.c tmux.1 tmux.h Log message: If there is an error in the configuration file, don't just exit(1) as this can cause the client to hang. Instead, send the error message, then mark the client as bad and start a normal shutdown so the server exits once the error is written. This also allows some code duplicating daemon(3) to be trimmed and logging to begin earlier. Prompted by Theo noticing the behaviour on error wasn't documented.