From: Jim Meyering Date: Sat, 31 Aug 2002 08:52:10 +0000 (+0000) Subject: Change `exit (0)' to `exit (EXIT_SUCCESS)', X-Git-Tag: v2.22-rc1~347^2~10^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722bc0061c954ee75590b88372085d8459cc71e1;p=thirdparty%2Futil-linux.git Change `exit (0)' to `exit (EXIT_SUCCESS)', `exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'. --- diff --git a/login-utils/su.c b/login-utils/su.c index 5b1328ccf0..ae67bf9f38 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -1,5 +1,5 @@ /* su for GNU. Run a shell with substitute user and group IDs. - Copyright (C) 1992-2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1992-2002 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 @@ -510,7 +510,7 @@ main (int argc, char **argv) case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); default: - usage (1); + usage (EXIT_FAILURE); } }