diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-07-02 12:34:14 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-07-03 08:02:40 +0000 |
commit | 50cfc6e40bb1a6e968c77e8ee89990b891e22c13 (patch) | |
tree | 471d29baefae44465e8b148b7ec24302f4131fc6 /storage | |
parent | fca385ca81ea92e6b9dbbb0d1794cfafa35ababc (diff) |
avoid naked exit
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/tools/generatedistributionbits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/tools/generatedistributionbits.cpp b/storage/src/vespa/storage/tools/generatedistributionbits.cpp index 98c5e56b90c..0885483f674 100644 --- a/storage/src/vespa/storage/tools/generatedistributionbits.cpp +++ b/storage/src/vespa/storage/tools/generatedistributionbits.cpp @@ -128,7 +128,7 @@ int main(int argc, char** argv) { std::cerr << e.getMessage() << "\n\n"; o.writeSyntaxPage(std::cerr); std::cerr << "\n"; - exit(1); + return 1; } o.finalize(); if (o.printHtml) { std::cout << "<b>"; } |