diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-10 08:14:08 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-10 08:14:08 +0000 |
commit | 590b5f3b7041069f1a53ccf599beaf010f13b07f (patch) | |
tree | 53798f21915b56dab9a017fc4d780151f70c9efa /usr.bin/cvs/proto.c | |
parent | 1d824fd6058a12636cad8d2b25ea6ac330e895ba (diff) |
use correct return code where we exit();
Diffstat (limited to 'usr.bin/cvs/proto.c')
-rw-r--r-- | usr.bin/cvs/proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c index 5e7b76143f5..5e869645501 100644 --- a/usr.bin/cvs/proto.c +++ b/usr.bin/cvs/proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.c,v 1.72 2005/07/28 15:52:09 joris Exp $ */ +/* $OpenBSD: proto.c,v 1.73 2005/08/10 08:14:07 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -269,7 +269,7 @@ cvs_connect(struct cvsroot *root) execvp(argv[0], argv); cvs_log(LP_ERRNO, "failed to exec"); - exit(1); + exit(CVS_EX_PROTO); } /* we are the parent */ |