aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.c b/main.c
index 9363fe6..3777ef9 100644
--- a/main.c
+++ b/main.c
@@ -923,14 +923,17 @@ main (argc, argv, envp)
switch (update_goal_chain (read_makefiles, 1))
{
+ case 1:
+ assert ("Status indicates -q set while remaking makefiles!");
default:
- abort ();
+ assert ("bogus status from update_goal_chain");
+ break;
case -1:
/* Did nothing. */
break;
- case 1:
+ case 2:
/* Failed to update. Figure out if we care. */
{
/* Nonzero if any makefile was successfully remade. */