diff options
author | Roland McGrath <roland@redhat.com> | 1996-07-14 17:07:13 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1996-07-14 17:07:13 +0000 |
commit | fde68d03f386ce1a3ae1f02579387359cc140325 (patch) | |
tree | ccb0df69171775b67430e492043a7f5d195f9e48 /main.c | |
parent | 56162c4968c9421c4128ee13c1cd9b2281f6e001 (diff) | |
download | gunmake-fde68d03f386ce1a3ae1f02579387359cc140325.tar.gz |
Sun Jul 14 12:59:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* main.c (main): Exit with status 2 when update_goal_chain returns 2.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1380,8 +1380,9 @@ int main (int argc, char ** argv) status = EXIT_SUCCESS; break; case 2: - /* Updating failed. */ - status = EXIT_FAILURE; + /* Updating failed. POSIX.2 specifies exit status >1 for this; + but in VMS, there is only success and failure. */ + status = EXIT_FAILURE ? 2 : EXIT_FAILURE; break; case 1: /* We are under -q and would run some commands. */ |