abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit e738f82956dea4a67480f943744ef5c2d3d79146
parent ad1d370a48ef31d82728de7aa6e70ce1b863fdd2
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 26 Feb 2015 14:13:19 +0100

Allow read only attaches to newly created sessions

Diffstat:
abduco.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/abduco.c b/abduco.c @@ -582,8 +582,7 @@ int main(int argc, char *argv[]) { cmd[0] = "dvtm"; } - if (!action || !server.session_name || - ((action == 'c' || action == 'C' || action == 'A') && client.readonly)) + if (!action || !server.session_name) usage(); if (tcgetattr(STDIN_FILENO, &orig_term) != -1) {