diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-01-30 15:49:19 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-01-30 15:49:19 +0000 |
commit | aa69d75166115d98ae33c1376cfc654d4a06dbc4 (patch) | |
tree | b5791fd47d6f58955970ff7124b27d616db97585 /usr.bin/cvs/fatal.c | |
parent | 18393404ca2994063b2706c92b1ad1f15afe9ca4 (diff) |
- make fatal() exit with code 1 instead of 255. makes us more compatible
with gnu on errors.
ok xsa@
Diffstat (limited to 'usr.bin/cvs/fatal.c')
-rw-r--r-- | usr.bin/cvs/fatal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/fatal.c b/usr.bin/cvs/fatal.c index 45b4278bac6..7eb37d25c1c 100644 --- a/usr.bin/cvs/fatal.c +++ b/usr.bin/cvs/fatal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fatal.c,v 1.5 2006/01/02 08:11:56 xsa Exp $ */ +/* $OpenBSD: fatal.c,v 1.6 2006/01/30 15:49:18 niallo Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserved. * @@ -38,5 +38,5 @@ fatal(const char *fmt,...) va_start(args, fmt); cvs_vlog(LP_ABORT, fmt, args); va_end(args); - exit(255); + exit(1); } |