diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-10-09 19:29:23 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-10-09 19:29:23 +0000 |
commit | f19f4f4a137e94a75814de4bbd7d482f8ccde907 (patch) | |
tree | 4d4a4d7539b7dd24fc0e2b4c400de5d8fa33df26 /usr.bin | |
parent | fc43d1ac261cc34e805beb476dbefd7101d726d0 (diff) |
only get the log message when it's not specified on the command-line;
noticed by niallo@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/ci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index 805f641a9d6..20248836417 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.13 2005/10/09 17:51:33 joris Exp $ */ +/* $OpenBSD: ci.c,v 1.14 2005/10/09 19:29:22 joris Exp $ */ /* * Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -169,7 +169,7 @@ checkin_main(int argc, char **argv) /* * If no log message specified, get it interactively. */ - if (rcs_msg != NULL) + if (rcs_msg == NULL) rcs_msg = checkin_getlogmsg(fpath, argv[i], frev, newrev); /* |