From f6c787cef5223a931e0ae9df006b8942e86586b7 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 8 Mar 2001 21:41:52 +0000 Subject: whack exit(-#) --- sbin/routed/rtquery/rtquery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/routed/rtquery/rtquery.c') 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++; } -- cgit v1.2.3