From d5c5ccc4613ca9039de827fe8a975e572857d2f6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 21 Jan 2004 23:50:20 +0000 Subject: (usage): Use EXIT_SUCCESS, not 0, for clarity. --- src/yes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/yes.c') diff --git a/src/yes.c b/src/yes.c index e58d63fba..f6f26e5a6 100644 --- a/src/yes.c +++ b/src/yes.c @@ -1,5 +1,5 @@ /* yes - output a string repeatedly until killed - Copyright (C) 1991-1997, 1999-2003 Free Software Foundation, Inc. + Copyright (C) 1991-1997, 1999-2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ char *program_name; void usage (int status) { - if (status != 0) + if (status != EXIT_SUCCESS) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else -- cgit v1.2.3-54-g00ecf