]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Change `exit (0)' to `exit (EXIT_SUCCESS)',
authorJim Meyering <jim@meyering.net>
Sat, 31 Aug 2002 08:52:10 +0000 (08:52 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 31 Aug 2002 08:52:10 +0000 (08:52 +0000)
`exit (1)' to `exit (EXIT_FAILURE)', and
`usage (1)' to `usage (EXIT_FAILURE)'.

login-utils/su.c

index 5b1328ccf0e8768f6c6ff0290ccc7431f5f1e9b3..ae67bf9f38ea55b51ae2c0248160dfba6696f1e6 100644 (file)
@@ -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);
        }
     }