summaryrefslogtreecommitdiff
path: root/src/true.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/true.c')
-rw-r--r--src/true.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/true.c b/src/true.c
index 8a1c4f92..22d141d0 100644
--- a/src/true.c
+++ b/src/true.c
@@ -1,5 +1,5 @@
/* Exit with a status code indicating success.
- Copyright (C) 1999-2014 Free Software Foundation, Inc.
+ Copyright (C) 1999-2015 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
@@ -47,7 +47,7 @@ Usage: %s [ignored command line arguments]\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- emit_ancillary_info ();
+ emit_ancillary_info (PROGRAM_NAME);
exit (status);
}
@@ -76,5 +76,5 @@ main (int argc, char **argv)
(char *) NULL);
}
- exit (EXIT_STATUS);
+ return EXIT_STATUS;
}