diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-02-08 18:27:34 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-02-08 18:27:34 +0000 |
commit | c6ba78137977bd7a447fd5f97b205544c2b41505 (patch) | |
tree | ec4d93053a821886b0a651d9d88d277d1e92966b /cmd-detach-client.c | |
parent | 9b57743cca71a7b2313a8d4f41558e8ec0404d9b (diff) |
Sync OpenBSD patchset 639:
Support attaching a client read-only with a new -r flag to the attach-session
command.
Diffstat (limited to 'cmd-detach-client.c')
-rw-r--r-- | cmd-detach-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-detach-client.c b/cmd-detach-client.c index 13f00d67..774179b7 100644 --- a/cmd-detach-client.c +++ b/cmd-detach-client.c @@ -1,4 +1,4 @@ -/* $Id: cmd-detach-client.c,v 1.10 2009-11-14 17:56:39 tcunha Exp $ */ +/* $Id: cmd-detach-client.c,v 1.11 2010-02-08 18:27:34 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -29,7 +29,7 @@ int cmd_detach_client_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_detach_client_entry = { "detach-client", "detach", CMD_TARGET_CLIENT_USAGE, - 0, "", + CMD_READONLY, "", cmd_target_init, cmd_target_parse, cmd_detach_client_exec, |