diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-09 17:19:18 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-09 17:19:18 +0000 |
commit | 5b56ea181649793918779dd2684c671072ce4bc9 (patch) | |
tree | 1debbcde3af4260db40f82735e2cc968d8dec438 /tmux.1 | |
parent | 602aae783945d39450788de983318c0da5172315 (diff) | |
download | rtmux-5b56ea181649793918779dd2684c671072ce4bc9.tar.gz rtmux-5b56ea181649793918779dd2684c671072ce4bc9.tar.bz2 rtmux-5b56ea181649793918779dd2684c671072ce4bc9.zip |
Sync OpenBSD patchset 225:
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.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.142 2009-08-09 16:59:35 tcunha Exp $ +.\" $Id: tmux.1,v 1.143 2009-08-09 17:19:18 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -120,6 +120,10 @@ if present, then looks for a user configuration file at The configuration file is a set of .Nm commands which are executed in sequence when the server is first started. +.Pp +If a command in the configuration file fails, +.Nm +will report an error and exit without executing further commands. .It Fl L Ar socket-name .Nm stores the server socket in a directory under |