diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-12-10 19:44:37 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-12-10 19:44:37 +0000 |
commit | 0b60386d65f5a3602554e545deec6db810a370e5 (patch) | |
tree | 79beaac2ed00a7515d98be5d0ed2762f3717a2ea /usr.bin/rcs | |
parent | ad7aea9b08f28848d4f3a3931b851a6144a9df9a (diff) |
- its wrong to use exit() here; return instead.
ok joris@
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index e7730f8b379..7af6398d1d0 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.25 2005/12/05 14:47:24 xsa Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.26 2005/12/10 19:44:36 niallo Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -160,7 +160,7 @@ rcsdiff_main(int argc, char **argv) rcs_close(file); } - exit(status); + return (status); } void |