diff options
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r-- | src/rebuild.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rebuild.cc b/src/rebuild.cc index 50d7540..7c34e77 100644 --- a/src/rebuild.cc +++ b/src/rebuild.cc @@ -229,7 +229,11 @@ bool recompileCheck(const Settings& global_settings, int argc, char* argv[], if(dirty_tasks) { std::cout << "Rebuilding config.\n"; - build(settings, "ctor", tasks); // run for real + auto ret = build(settings, "ctor", tasks); // run for real + if(ret != 0) + { + return ret; + } } if(reconfigure) |