diff options
Diffstat (limited to 'vespaclient')
-rw-r--r-- | vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp b/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp index 1b8f31f0d03..082aa83c3da 100644 --- a/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp +++ b/vespaclient/src/vespa/vespaclient/vdsstates/statesapp.cpp @@ -15,6 +15,7 @@ #include <sstream> #include <iostream> #include <thread> +#include <cstdlib> #include <sys/time.h> #include <vespa/log/log.h> @@ -128,7 +129,7 @@ struct Options : public vespalib::ProgramOptions { _clusterName = _cluster.getName(); } catch (const vespaclient::ClusterList::ClusterNotFoundException& e) { std::cerr << e.getMessage() << "\n"; - exit(1); + std::_Exit(1); } return true; } |