diff options
Diffstat (limited to 'usr.bin/cvs/cmd.c')
-rw-r--r-- | usr.bin/cvs/cmd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c index 7236fbc4476..4b94978ab8b 100644 --- a/usr.bin/cvs/cmd.c +++ b/usr.bin/cvs/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.23 2005/06/02 20:12:06 joris Exp $ */ +/* $OpenBSD: cmd.c,v 1.24 2005/06/07 16:22:19 joris Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -229,5 +229,8 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv) if (cmd->cmd_cleanup != NULL) (*cmd->cmd_cleanup)(); + if (root->cr_method != CVS_METHOD_LOCAL) + cvs_disconnect(root); + return (0); } |