From 1ac021b5fc567c48781ec04af2cdb64dfe0a8fe7 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 2 Aug 2008 04:13:37 +0000 Subject: [PATCH] usage() has to exit 1; Gleydson Soares --- usr.sbin/ypbind/ypbind.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index dbe7862788f..5be7afbeb35 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.57 2007/10/09 14:40:15 deraadt Exp $ */ +/* $OpenBSD: ypbind.c,v 1.58 2008/08/02 04:13:37 deraadt Exp $ */ /* * Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt @@ -27,7 +27,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: ypbind.c,v 1.57 2007/10/09 14:40:15 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypbind.c,v 1.58 2008/08/02 04:13:37 deraadt Exp $"; #endif #include @@ -334,7 +334,7 @@ static void usage(void) { fprintf(stderr, "usage: ypbind [-insecure] [-ypset] [-ypsetme]\n"); - exit(0); + exit(1); } int -- 2.20.1