summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-23 05:57:33 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-23 05:57:33 +0000
commit4e7d4dfd8d46aee70d0d339d44b346c4f738c854 (patch)
tree52903241a0ab200418750fe93b52dfa773a1c656 /src
parent39ecad7d9adfd1f99618f248422d85733a7b6071 (diff)
downloadcoreutils-4e7d4dfd8d46aee70d0d339d44b346c4f738c854.tar.xz
(main): If getopt fails, exit with status 127, not status 1.
Diffstat (limited to 'src')
-rw-r--r--src/nohup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nohup.c b/src/nohup.c
index f1c6eca9c..45e632661 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -88,7 +88,7 @@ main (int argc, char **argv)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
if (getopt_long (argc, argv, "+", NULL, NULL) != -1)
- usage (EXIT_FAILURE);
+ usage (NOHUP_FAILURE);
if (argc <= optind)
{