From 0963092b50f73b95c333127f8552755df4936069 Mon Sep 17 00:00:00 2001 From: poljvd Date: Thu, 10 Oct 2013 09:51:18 +0200 Subject: [PATCH] Change return value when no config file present Former-commit-id: b560663960303b01466fb36f2e442926aa3b63b4 --- src/hyperiond/hyperiond.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hyperiond/hyperiond.cpp b/src/hyperiond/hyperiond.cpp index 71fc9a84..e21752bd 100644 --- a/src/hyperiond/hyperiond.cpp +++ b/src/hyperiond/hyperiond.cpp @@ -1,4 +1,3 @@ - // C++ includes #include @@ -66,7 +65,7 @@ int main(int argc, char** argv) { std::cout << "Missing required configuration file. Usage:" << std::endl; std::cout << "hyperiond [config.file]" << std::endl; - return 0; + return 1; } const std::string configFile = argv[1];