summaryrefslogtreecommitdiff
path: root/sbin/routed
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-08 21:41:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-08 21:41:52 +0000
commitf6c787cef5223a931e0ae9df006b8942e86586b7 (patch)
tree35865924784703a0aa7f80ac9cd5fe07f61b6140 /sbin/routed
parentcc0807a8788496cf1bd813b1e841b684f516e44d (diff)
whack exit(-#)
Diffstat (limited to 'sbin/routed')
-rw-r--r--sbin/routed/rtquery/rtquery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/rtquery/rtquery.c b/sbin/routed/rtquery/rtquery.c
index 253e5eda7f1..89a9a91eff3 100644
--- a/sbin/routed/rtquery/rtquery.c
+++ b/sbin/routed/rtquery/rtquery.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtquery.c,v 1.9 1998/06/01 07:23:41 deraadt Exp $ */
+/* $OpenBSD: rtquery.c,v 1.10 2001/03/08 21:41:49 deraadt Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -317,7 +317,7 @@ query_loop(char *argv[], int argc)
seen = 0;
while (0 > out(*argv++)) {
if (*argv == 0)
- exit(-1);
+ exit(1);
answered++;
}