diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-23 05:57:33 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-23 05:57:33 +0000 |
commit | 4e7d4dfd8d46aee70d0d339d44b346c4f738c854 (patch) | |
tree | 52903241a0ab200418750fe93b52dfa773a1c656 /src/nohup.c | |
parent | 39ecad7d9adfd1f99618f248422d85733a7b6071 (diff) | |
download | coreutils-4e7d4dfd8d46aee70d0d339d44b346c4f738c854.tar.xz |
(main): If getopt fails, exit with status 127, not status 1.
Diffstat (limited to 'src/nohup.c')
-rw-r--r-- | src/nohup.c | 2 |
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) { |